ethclient/gethclient: gofmt -s (#27762)

pull/27767/head
Marius van der Wijden 1 year ago committed by GitHub
parent 7f756dc118
commit a46f4173cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      ethclient/gethclient/gethclient_test.go

@ -399,17 +399,17 @@ func testCallContract(t *testing.T, client *rpc.Client) {
func TestOverrideAccountMarshal(t *testing.T) { func TestOverrideAccountMarshal(t *testing.T) {
om := map[common.Address]OverrideAccount{ om := map[common.Address]OverrideAccount{
common.Address{0x11}: OverrideAccount{ {0x11}: {
// Zero-valued nonce is not overriddden, but simply dropped by the encoder. // Zero-valued nonce is not overriddden, but simply dropped by the encoder.
Nonce: 0, Nonce: 0,
}, },
common.Address{0xaa}: OverrideAccount{ {0xaa}: {
Nonce: 5, Nonce: 5,
}, },
common.Address{0xbb}: OverrideAccount{ {0xbb}: {
Code: []byte{1}, Code: []byte{1},
}, },
common.Address{0xcc}: OverrideAccount{ {0xcc}: {
// 'code', 'balance', 'state' should be set when input is // 'code', 'balance', 'state' should be set when input is
// a non-nil but empty value. // a non-nil but empty value.
Code: []byte{}, Code: []byte{},

Loading…
Cancel
Save