ethclient/gethclient: gofmt -s (#27762)

This commit is contained in:
Marius van der Wijden 2023-07-24 12:21:26 +02:00 committed by GitHub
parent 7f756dc118
commit a46f4173cd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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{},