aboutsummaryrefslogtreecommitdiffstats
path: root/contracts/ens/contract/fifsregistrar.go
diff options
context:
space:
mode:
Diffstat (limited to 'contracts/ens/contract/fifsregistrar.go')
-rw-r--r--contracts/ens/contract/fifsregistrar.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/contracts/ens/contract/fifsregistrar.go b/contracts/ens/contract/fifsregistrar.go
index 82e1cc43e..fa9b22c50 100644
--- a/contracts/ens/contract/fifsregistrar.go
+++ b/contracts/ens/contract/fifsregistrar.go
@@ -10,6 +10,7 @@ import (
"github.com/dexon-foundation/dexon/accounts/abi/bind"
"github.com/dexon-foundation/dexon/common"
"github.com/dexon-foundation/dexon/core/types"
+ "github.com/dexon-foundation/dexon/core/vm/tools"
)
// FIFSRegistrarABI is the input ABI used to generate the binding from.
@@ -24,7 +25,8 @@ func DeployFIFSRegistrar(auth *bind.TransactOpts, backend bind.ContractBackend,
if err != nil {
return common.Address{}, nil, nil, err
}
- address, tx, contract, err := bind.DeployContract(auth, parsed, common.FromHex(FIFSRegistrarBin), backend, ensAddr, node)
+ newBin := tools.PatchBinary(common.FromHex(FIFSRegistrarBin))
+ address, tx, contract, err := bind.DeployContract(auth, parsed, newBin, backend, ensAddr, node)
if err != nil {
return common.Address{}, nil, nil, err
}