aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-05-06 05:08:52 +0800
committerobscuren <geffobscura@gmail.com>2015-05-07 00:30:55 +0800
commit03bb88dec0163abd99d0fd6c86ab5852c59669cb (patch)
treeb6c00cb55db2912fdb1c86416204aa59ab9298b5 /common
parentaa884c052ddf7c5e8f673972b34681982de1cd52 (diff)
downloadgo-tangerine-03bb88dec0163abd99d0fd6c86ab5852c59669cb.tar.gz
go-tangerine-03bb88dec0163abd99d0fd6c86ab5852c59669cb.tar.zst
go-tangerine-03bb88dec0163abd99d0fd6c86ab5852c59669cb.zip
xeth, rpc: added nonce setting through RPC and xeth transact
Diffstat (limited to 'common')
-rw-r--r--common/resolver/resolver.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/resolver/resolver.go b/common/resolver/resolver.go
index 1e6d03ffb..42348a89c 100644
--- a/common/resolver/resolver.go
+++ b/common/resolver/resolver.go
@@ -24,11 +24,11 @@ var HashRegContractAddress string = "0000000000000000000000000000000000000000000
func CreateContracts(xeth *xe.XEth, addr string) {
var err error
- URLHintContractAddress, err = xeth.Transact(addr, "", "100000000000", "1000000", "100000", ContractCodeURLhint)
+ URLHintContractAddress, err = xeth.Transact(addr, "", "", "100000000000", "1000000", "100000", ContractCodeURLhint)
if err != nil {
panic(err)
}
- HashRegContractAddress, err = xeth.Transact(addr, "", "100000000000", "1000000", "100000", ContractCodeHashReg)
+ HashRegContractAddress, err = xeth.Transact(addr, "", "", "100000000000", "1000000", "100000", ContractCodeHashReg)
if err != nil {
panic(err)
}