aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/abi/bind/util_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/abi/bind/util_test.go')
-rw-r--r--accounts/abi/bind/util_test.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/accounts/abi/bind/util_test.go b/accounts/abi/bind/util_test.go
index 4226affa3..0c0120a66 100644
--- a/accounts/abi/bind/util_test.go
+++ b/accounts/abi/bind/util_test.go
@@ -27,6 +27,7 @@ import (
"github.com/dexon-foundation/dexon/common"
"github.com/dexon-foundation/dexon/core"
"github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/core/vm/tools"
"github.com/dexon-foundation/dexon/crypto"
)
@@ -60,6 +61,7 @@ func TestWaitDeployed(t *testing.T) {
)
// Create the transaction.
+ test.code = tools.Patch(test.code)
tx := types.NewContractCreation(0, big.NewInt(0), test.gas, big.NewInt(1), common.FromHex(test.code))
tx, _ = types.SignTx(tx, types.HomesteadSigner{}, testKey)