From f0a2757cbd764501e4af77a81eb0ff08a0593da0 Mon Sep 17 00:00:00 2001 From: ductm54 Date: Tue, 8 Jan 2019 21:28:23 +0700 Subject: [PATCH] fix build --- blockchain/contract_wrapper.go | 2 +- blockchain/reserve_contract.go | 2 +- signer/file_signer.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/blockchain/contract_wrapper.go b/blockchain/contract_wrapper.go index 5bb4231bb..8d4df0009 100644 --- a/blockchain/contract_wrapper.go +++ b/blockchain/contract_wrapper.go @@ -102,7 +102,7 @@ func bindContractWrapper(address common.Address, caller bind.ContractCaller, tra if err != nil { return nil, err } - return bind.NewBoundContract(address, parsed, caller, transactor), nil + return bind.NewBoundContract(address, parsed, caller, transactor, nil), nil } // Call invokes the (constant) contract method with params as input values and diff --git a/blockchain/reserve_contract.go b/blockchain/reserve_contract.go index fa22b8276..547249247 100644 --- a/blockchain/reserve_contract.go +++ b/blockchain/reserve_contract.go @@ -102,7 +102,7 @@ func bindReserveContract(address common.Address, caller bind.ContractCaller, tra if err != nil { return nil, err } - return bind.NewBoundContract(address, parsed, caller, transactor), nil + return bind.NewBoundContract(address, parsed, caller, transactor, nil), nil } // Call invokes the (constant) contract method with params as input values and diff --git a/signer/file_signer.go b/signer/file_signer.go index 327897f33..e91c111ea 100644 --- a/signer/file_signer.go +++ b/signer/file_signer.go @@ -100,7 +100,7 @@ func NewFileSigner(file string) *FileSigner { panic(err) } - auth.GasLimit = big.NewInt(1000000) + auth.GasLimit = 1000000 auth.GasPrice = big.NewInt(60000000000) signer.opts = auth return &signer