accounts/abi faster unpacking of int256 (#20850)

This commit is contained in:
Marius van der Wijden
2020-04-01 18:46:53 +02:00
committed by GitHub
parent bf35e27ea7
commit f15849cf00
2 changed files with 10 additions and 14 deletions

View File

@ -1009,7 +1009,7 @@ func TestUnpackTuple(t *testing.T) {
t.Errorf("unexpected value unpacked: want %x, got %x", 1, v.A)
}
if v.B.Cmp(big.NewInt(-1)) != 0 {
t.Errorf("unexpected value unpacked: want %x, got %x", v.B, -1)
t.Errorf("unexpected value unpacked: want %x, got %x", -1, v.B)
}
}