diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-21 00:09:10 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-21 00:09:10 +0800 |
commit | 3b45fedb81dade6fc65c663c76856a07261f30d0 (patch) | |
tree | 94c9d0a98b625ca5a8be59f5b780fd3bd54254c7 /xeth/xeth.go | |
parent | 76025cc4245f0abc0749f4d1e433be865107bf24 (diff) | |
parent | 36ec42e50c9367e86621ff58b8e3d835abbbad79 (diff) | |
download | dexon-3b45fedb81dade6fc65c663c76856a07261f30d0.tar dexon-3b45fedb81dade6fc65c663c76856a07261f30d0.tar.gz dexon-3b45fedb81dade6fc65c663c76856a07261f30d0.tar.bz2 dexon-3b45fedb81dade6fc65c663c76856a07261f30d0.tar.lz dexon-3b45fedb81dade6fc65c663c76856a07261f30d0.tar.xz dexon-3b45fedb81dade6fc65c663c76856a07261f30d0.tar.zst dexon-3b45fedb81dade6fc65c663c76856a07261f30d0.zip |
Merge branch 'ethersphere-frontier/natspec' into develop
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r-- | xeth/xeth.go | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go index c1a2ec283..afcb33e4c 100644 --- a/xeth/xeth.go +++ b/xeth/xeth.go @@ -148,10 +148,10 @@ func (self *XEth) AtStateNum(num int64) *XEth { } } - return self.withState(st) + return self.WithState(st) } -func (self *XEth) withState(statedb *state.StateDB) *XEth { +func (self *XEth) WithState(statedb *state.StateDB) *XEth { xeth := &XEth{ backend: self.backend, } @@ -608,6 +608,12 @@ func (self *XEth) Call(fromStr, toStr, valueStr, gasStr, gasPriceStr, dataStr st return common.ToHex(res), err } +func (self *XEth) ConfirmTransaction(tx string) bool { + + return self.frontend.ConfirmTransaction(tx) + +} + func (self *XEth) Transact(fromStr, toStr, valueStr, gasStr, gasPriceStr, codeStr string) (string, error) { var ( from = common.HexToAddress(fromStr) |