aboutsummaryrefslogtreecommitdiffstats
path: root/xeth/xeth.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-08-14 07:25:33 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-08-14 07:25:33 +0800
commit28b14d3e6d43cb27019e21d0a93a80e7bee1de8c (patch)
tree9995026e87221a80cb5171364ffa734459c16b16 /xeth/xeth.go
parent73c4e6005c3e47342a4631955ca6fd2782925886 (diff)
parentf9cbd16f27e393d4937354ee31435e0a2f689484 (diff)
downloaddexon-28b14d3e6d43cb27019e21d0a93a80e7bee1de8c.tar
dexon-28b14d3e6d43cb27019e21d0a93a80e7bee1de8c.tar.gz
dexon-28b14d3e6d43cb27019e21d0a93a80e7bee1de8c.tar.bz2
dexon-28b14d3e6d43cb27019e21d0a93a80e7bee1de8c.tar.lz
dexon-28b14d3e6d43cb27019e21d0a93a80e7bee1de8c.tar.xz
dexon-28b14d3e6d43cb27019e21d0a93a80e7bee1de8c.tar.zst
dexon-28b14d3e6d43cb27019e21d0a93a80e7bee1de8c.zip
Merge pull request #1635 from bas-vk/useragent
support for user agents
Diffstat (limited to 'xeth/xeth.go')
-rw-r--r--xeth/xeth.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/xeth/xeth.go b/xeth/xeth.go
index 5110aa62c..5a57608bc 100644
--- a/xeth/xeth.go
+++ b/xeth/xeth.go
@@ -885,6 +885,10 @@ func isAddress(addr string) bool {
return addrReg.MatchString(addr)
}
+func (self *XEth) Frontend() Frontend {
+ return self.frontend
+}
+
func (self *XEth) Transact(fromStr, toStr, nonceStr, valueStr, gasStr, gasPriceStr, codeStr string) (string, error) {
// this minimalistic recoding is enough (works for natspec.js)