mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
core/vm/runtime: nitpickfix
This commit is contained in:
parent
8d05c598fd
commit
9082693d66
1 changed files with 2 additions and 2 deletions
|
|
@ -294,10 +294,10 @@ func TestBlockhash(t *testing.T) {
|
||||||
BlockNumber: new(big.Int).Set(header.Number),
|
BlockNumber: new(big.Int).Set(header.Number),
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("Expected no error, got %v", err)
|
t.Fatalf("expected no error, got %v", err)
|
||||||
}
|
}
|
||||||
if len(ret) != 96 {
|
if len(ret) != 96 {
|
||||||
t.Fatalf("Expected returndata to be 96 bytes, got %d", len(ret))
|
t.Fatalf("expected returndata to be 96 bytes, got %d", len(ret))
|
||||||
}
|
}
|
||||||
|
|
||||||
zero := new(big.Int).SetBytes(ret[0:32])
|
zero := new(big.Int).SetBytes(ret[0:32])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue