Skip to content

Commit

Permalink
ethclient/gethclient: gofmt -s (#27762)
Browse files Browse the repository at this point in the history
  • Loading branch information
MariusVanDerWijden committed Jul 24, 2023
1 parent 7f756dc commit a46f417
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions ethclient/gethclient/gethclient_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,17 +399,17 @@ func testCallContract(t *testing.T, client *rpc.Client) {

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

0 comments on commit a46f417

Please sign in to comment.