forked from cerc-io/plugeth
ethclient/gethclient: gofmt -s (#27762)
This commit is contained in:
parent
7f756dc118
commit
a46f4173cd
@ -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…
Reference in New Issue
Block a user