diff options
author | Jhih-Ming Huang <jm@dexon.org> | 2019-04-10 22:29:35 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-10 22:29:35 +0800 |
commit | 675a9441784b14ee4bd996832c4431adc291c5af (patch) | |
tree | 58d76052f28fd5808605f592a52f297f862f9ef7 /build | |
parent | b102e88097d7555b776e95565355ab3dacced1f9 (diff) | |
download | dexon-675a9441784b14ee4bd996832c4431adc291c5af.tar.gz dexon-675a9441784b14ee4bd996832c4431adc291c5af.tar.zst dexon-675a9441784b14ee4bd996832c4431adc291c5af.zip |
fixup! Change import go github.com/dexon-foundation/dexon
Diffstat (limited to 'build')
-rw-r--r-- | build/testtool/testtool.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/build/testtool/testtool.go b/build/testtool/testtool.go index a801cfbb3..f9d238695 100644 --- a/build/testtool/testtool.go +++ b/build/testtool/testtool.go @@ -56,7 +56,7 @@ func getBlockNumber(client *ethclient.Client, round int) *big.Int { log.Fatalf("pack input fail: %v", err) } - result, err := client.CallContract(context.Background(), ethereum.CallMsg{ + result, err := client.CallContract(context.Background(), dexon.CallMsg{ To: &vm.GovernanceContractAddress, Data: input, }, nil) @@ -102,7 +102,7 @@ func doVerifyGovCRS(args []string) { log.Fatalf("pack input fail: %v", err) } - result, err := client.CallContract(context.Background(), ethereum.CallMsg{ + result, err := client.CallContract(context.Background(), dexon.CallMsg{ To: &vm.GovernanceContractAddress, Data: input, }, blockNumber) @@ -152,7 +152,7 @@ func doVerifyGovMPK(args []string) { log.Fatalf("pack input fail: %v", err) } - result, err := client.CallContract(context.Background(), ethereum.CallMsg{ + result, err := client.CallContract(context.Background(), dexon.CallMsg{ To: &vm.GovernanceContractAddress, Data: input, }, blockNumber) |