Remove sha256 debug output
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user