aboutsummaryrefslogtreecommitdiffstats
path: root/ethereal/assets/ethereum.js
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2014-05-05 19:09:11 +0800
committerobscuren <geffobscura@gmail.com>2014-05-05 19:09:11 +0800
commit91824af46b59b7af84c7591236fe8b34b667ddb8 (patch)
tree9a1fe3c9de34e0f841f6490ac68eed7cb8e3f14a /ethereal/assets/ethereum.js
parentdd45197bcd174e16adc3b738bf390cc3018a5a28 (diff)
downloadgo-tangerine-91824af46b59b7af84c7591236fe8b34b667ddb8.tar
go-tangerine-91824af46b59b7af84c7591236fe8b34b667ddb8.tar.gz
go-tangerine-91824af46b59b7af84c7591236fe8b34b667ddb8.tar.bz2
go-tangerine-91824af46b59b7af84c7591236fe8b34b667ddb8.tar.lz
go-tangerine-91824af46b59b7af84c7591236fe8b34b667ddb8.tar.xz
go-tangerine-91824af46b59b7af84c7591236fe8b34b667ddb8.tar.zst
go-tangerine-91824af46b59b7af84c7591236fe8b34b667ddb8.zip
Changed getkey and secrettoaddress
Diffstat (limited to 'ethereal/assets/ethereum.js')
-rw-r--r--ethereal/assets/ethereum.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ethereal/assets/ethereum.js b/ethereal/assets/ethereum.js
index e83d252b2..8f1a60300 100644
--- a/ethereal/assets/ethereum.js
+++ b/ethereal/assets/ethereum.js
@@ -36,11 +36,14 @@ window.eth = {
postData({call: "getKey"}, cb);
},
-
getBalanceAt: function(address, cb) {
postData({call: "getBalance", args: [address]}, cb);
},
+ getSecretToAddress: function(sec, cb) {
+ postData({call: "getSecretToAddress", args: [sec]}, cb);
+ },
+
watch: function(address, storageAddrOrCb, cb) {
var ev;
if(cb === undefined) {