accounts/abi: fix staticcheck warnings (#20358)
* accounts/abi: fix staticcheck warnings * accounts/abi: restore unused field for test
This commit is contained in:
committed by
Péter Szilágyi
parent
bcc1234778
commit
36a684ca1e
@ -927,7 +927,7 @@ func TestABI_MethodById(t *testing.T) {
|
||||
}
|
||||
b := fmt.Sprintf("%v", m2)
|
||||
if a != b {
|
||||
t.Errorf("Method %v (id %v) not 'findable' by id in ABI", name, common.ToHex(m.ID()))
|
||||
t.Errorf("Method %v (id %x) not 'findable' by id in ABI", name, m.ID())
|
||||
}
|
||||
}
|
||||
// Also test empty
|
||||
|
Reference in New Issue
Block a user