aboutsummaryrefslogtreecommitdiffstats
path: root/xeth
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2015-08-07 15:56:49 +0800
committerBas van Kervel <bas@ethdev.com>2015-08-12 18:22:16 +0800
commitf9cbd16f27e393d4937354ee31435e0a2f689484 (patch)
tree0b9668443084923b2b264cd0fb1b1b8c604cf1d6 /xeth
parent2fcf7f1241648dc2c0ed90a122c5945f25b3ce1a (diff)
downloaddexon-f9cbd16f27e393d4937354ee31435e0a2f689484.tar
dexon-f9cbd16f27e393d4937354ee31435e0a2f689484.tar.gz
dexon-f9cbd16f27e393d4937354ee31435e0a2f689484.tar.bz2
dexon-f9cbd16f27e393d4937354ee31435e0a2f689484.tar.lz
dexon-f9cbd16f27e393d4937354ee31435e0a2f689484.tar.xz
dexon-f9cbd16f27e393d4937354ee31435e0a2f689484.tar.zst
dexon-f9cbd16f27e393d4937354ee31435e0a2f689484.zip
support for user agents
Diffstat (limited to 'xeth')
-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)