changed send methods for backwards compatability in geth console

This commit is contained in:
Bas van Kervel
2015-06-08 13:21:24 +02:00
committed by Bas van Kervel
parent a1a475fb92
commit 862117e4bd
3 changed files with 57 additions and 2 deletions

View File

@ -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)