accounts/abi/bind: support closing a simulated backend

This commit is contained in:
Péter Szilágyi
2019-07-31 11:35:57 +03:00
parent 96ab8e1575
commit 140a7e9177
6 changed files with 48 additions and 8 deletions

View File

@ -59,6 +59,7 @@ func TestWaitDeployed(t *testing.T) {
},
10000000,
)
defer backend.Close()
// Create the transaction.
tx := types.NewContractCreation(0, big.NewInt(0), test.gas, big.NewInt(1), common.FromHex(test.code))