Revert "ethclient/gethclient: gofmt -s (#27762)"

This reverts commit d5672db15a.
This commit is contained in:
devopsbo3 2023-11-10 12:27:53 -06:00 committed by GitHub
parent 9abe1d02c7
commit 00bcd10da9

View file

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