aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/geth/js.go
diff options
context:
space:
mode:
authorBas van Kervel <basvankervel@ziggo.nl>2015-06-08 19:21:24 +0800
committerBas van Kervel <basvankervel@gmail.com>2015-06-11 20:01:39 +0800
commit862117e4bdcc5d255fc85fc35e223eec10f0ac7b (patch)
tree2fcfe6b215753007d788db55d02896c0918fe976 /cmd/geth/js.go
parenta1a475fb9296e214292840d89811123292c7953c (diff)
downloaddexon-862117e4bdcc5d255fc85fc35e223eec10f0ac7b.tar
dexon-862117e4bdcc5d255fc85fc35e223eec10f0ac7b.tar.gz
dexon-862117e4bdcc5d255fc85fc35e223eec10f0ac7b.tar.bz2
dexon-862117e4bdcc5d255fc85fc35e223eec10f0ac7b.tar.lz
dexon-862117e4bdcc5d255fc85fc35e223eec10f0ac7b.tar.xz
dexon-862117e4bdcc5d255fc85fc35e223eec10f0ac7b.tar.zst
dexon-862117e4bdcc5d255fc85fc35e223eec10f0ac7b.zip
changed send methods for backwards compatability in geth console
Diffstat (limited to 'cmd/geth/js.go')
-rw-r--r--cmd/geth/js.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/geth/js.go b/cmd/geth/js.go
index d1a6cc29d..7e6e10ca9 100644
--- a/cmd/geth/js.go
+++ b/cmd/geth/js.go
@@ -111,6 +111,7 @@ func (js *jsre) apiBindings(ipcpath string, f xeth.Frontend) {
js.re.Set("jeth", struct{}{})
t, _ := js.re.Get("jeth")
jethObj := t.Object()
+
jethObj.Set("send", jeth.Send)
jethObj.Set("sendAsync", jeth.Send)