diff options
Diffstat (limited to 'accounts/abi/bind/util_test.go')
-rw-r--r-- | accounts/abi/bind/util_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/accounts/abi/bind/util_test.go b/accounts/abi/bind/util_test.go index b37a69cfc..d24aa721e 100644 --- a/accounts/abi/bind/util_test.go +++ b/accounts/abi/bind/util_test.go @@ -53,9 +53,8 @@ var waitDeployedTests = map[string]struct { func TestWaitDeployed(t *testing.T) { for name, test := range waitDeployedTests { - backend := backends.NewSimulatedBackend(core.GenesisAccount{ - Address: crypto.PubkeyToAddress(testKey.PublicKey), - Balance: big.NewInt(10000000000), + backend := backends.NewSimulatedBackend(core.GenesisAlloc{ + crypto.PubkeyToAddress(testKey.PublicKey): {Balance: big.NewInt(10000000000)}, }) // Create the transaction. |