mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Revert "ethclient/gethclient: gofmt -s (#27762)"
This reverts commit d5672db15a.
This commit is contained in:
parent
9abe1d02c7
commit
00bcd10da9
1 changed files with 4 additions and 4 deletions
|
|
@ -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{
|
||||||
{0x11}: {
|
common.Address{0x11}: OverrideAccount{
|
||||||
// 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,
|
||||||
},
|
},
|
||||||
{0xaa}: {
|
common.Address{0xaa}: OverrideAccount{
|
||||||
Nonce: 5,
|
Nonce: 5,
|
||||||
},
|
},
|
||||||
{0xbb}: {
|
common.Address{0xbb}: OverrideAccount{
|
||||||
Code: []byte{1},
|
Code: []byte{1},
|
||||||
},
|
},
|
||||||
{0xcc}: {
|
common.Address{0xcc}: OverrideAccount{
|
||||||
// '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 a new issue