mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
accounts/abi: restore unused field for test
This commit is contained in:
parent
b0938c0e5e
commit
03c190fcba
1 changed files with 1 additions and 0 deletions
|
|
@ -173,6 +173,7 @@ func TestEventTupleUnpack(t *testing.T) {
|
||||||
type EventTransferWithTag struct {
|
type EventTransferWithTag struct {
|
||||||
// this is valid because `value` is not exportable,
|
// this is valid because `value` is not exportable,
|
||||||
// so value is only unmarshalled into `Value1`.
|
// so value is only unmarshalled into `Value1`.
|
||||||
|
value *big.Int //lint:ignore U1000 unused field is part of test
|
||||||
Value1 *big.Int `abi:"value"`
|
Value1 *big.Int `abi:"value"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue