Remove sha256 debug output

This commit is contained in:
2021-12-17 21:47:20 +01:00
parent 7040909625
commit 72a245610a

View File

@@ -2,8 +2,6 @@ package main
import (
"bytes"
"crypto/sha256"
"encoding/hex"
"errors"
"fmt"
"syscall/js"
@@ -104,9 +102,6 @@ func generateCover(this js.Value, args []js.Value) interface{} {
}
s := buf.Bytes()
sum := sha256.Sum256(s)
fmt.Println("shasum", hex.EncodeToString(sum[:]))
ta := js.Global().Get("Uint8Array").New(len(s))
js.CopyBytesToJS(ta, s)
return ta