Skip to content

Commit 831c0b9

Browse files
committed
x
1 parent 771663d commit 831c0b9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/main_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -354,7 +354,8 @@ func testxx() {
354354
hb, _ := hex.DecodeString(data)
355355
out2 := crypto.Keccak256(hb)
356356
fmt.Println(hex.EncodeToString(out2))
357-
encodeString2 := base64.StdEncoding.EncodeToString(out2)
357+
input1, _ := hex.DecodeString(string(out2))
358+
encodeString2 := base64.StdEncoding.EncodeToString(input1)
358359
fmt.Println(encodeString2)
359360

360361
input := []byte("io1eana2t400zc0mzg9duptscke43p48rpr9d6say")

0 commit comments

Comments
 (0)