aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-04-21 00:08:14 +0800
committerobscuren <geffobscura@gmail.com>2015-04-21 00:08:14 +0800
commit36ec42e50c9367e86621ff58b8e3d835abbbad79 (patch)
tree94c9d0a98b625ca5a8be59f5b780fd3bd54254c7 /xeth/xeth.go
parent76025cc4245f0abc0749f4d1e433be865107bf24 (diff)
parent093a9106b093310acf4c3911baa61916cff52ab8 (diff)
downloadgo-tangerine-36ec42e50c9367e86621ff58b8e3d835abbbad79.tar
go-tangerine-36ec42e50c9367e86621ff58b8e3d835abbbad79.tar.gz
go-tangerine-36ec42e50c9367e86621ff58b8e3d835abbbad79.tar.bz2
go-tangerine-36ec42e50c9367e86621ff58b8e3d835abbbad79.tar.lz
go-tangerine-36ec42e50c9367e86621ff58b8e3d835abbbad79.tar.xz
go-tangerine-36ec42e50c9367e86621ff58b8e3d835abbbad79.tar.zst
go-tangerine-36ec42e50c9367e86621ff58b8e3d835abbbad79.zip
Merge branch 'frontier/natspec' of https://github.com/ethersphere/go-ethereum into ethersphere-frontier/natspec
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r--xeth/xeth.go10
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)