mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
fix unittest block signer
This commit is contained in:
parent
df99d58a00
commit
aea989cb3a
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ func TestBlockSigner(t *testing.T) {
|
||||||
byte0 := randomHash()
|
byte0 := randomHash()
|
||||||
|
|
||||||
// Test sign.
|
// Test sign.
|
||||||
tx, err := blockSigner.Sign(big.NewInt(50), byte0)
|
tx, err := blockSigner.Sign(big.NewInt(2), byte0)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("can't sign: %v", err)
|
t.Fatalf("can't sign: %v", err)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue