mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-06-12 01:41:36 +00:00
crypto: msg0 should be msg1
This commit is contained in:
parent
8e2107dc39
commit
21da02824a
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ func TestPythonIntegration(t *testing.T) {
|
||||||
sig0, _ := Sign(msg0, k0)
|
sig0, _ := Sign(msg0, k0)
|
||||||
|
|
||||||
msg1 := common.FromHex("00000000000000000000000000000000")
|
msg1 := common.FromHex("00000000000000000000000000000000")
|
||||||
sig1, _ := Sign(msg0, k0)
|
sig1, _ := Sign(msg1, k0)
|
||||||
|
|
||||||
t.Logf("msg: %x, privkey: %s sig: %x\n", msg0, kh, sig0)
|
t.Logf("msg: %x, privkey: %s sig: %x\n", msg0, kh, sig0)
|
||||||
t.Logf("msg: %x, privkey: %s sig: %x\n", msg1, kh, sig1)
|
t.Logf("msg: %x, privkey: %s sig: %x\n", msg1, kh, sig1)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue