From c5481b7654b8ab35b2242befc3a5b235e6d70685 Mon Sep 17 00:00:00 2001 From: obscuren Date: Wed, 30 Apr 2014 14:54:59 +0200 Subject: getBalanceAt getStorageAt, fixed get balance api call --- ethereal/assets/ethereum.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ethereal/assets/ethereum.js') diff --git a/ethereal/assets/ethereum.js b/ethereal/assets/ethereum.js index 916655d5e..fd5091bd1 100644 --- a/ethereal/assets/ethereum.js +++ b/ethereal/assets/ethereum.js @@ -29,7 +29,7 @@ window.eth = { postData({call: "create", args: [sec, value, gas, gasPrice, init, body]}, cb); }, - getStorage: function(address, storageAddress, cb) { + getStorageAt: function(address, storageAddress, cb) { postData({call: "getStorage", args: [address, storageAddress]}, cb); }, @@ -37,7 +37,7 @@ window.eth = { postData({call: "getKey"}, cb); }, - getBalance: function(address, cb) { + getBalanceAt: function(address, cb) { postData({call: "getBalance", args: [address]}, cb); }, -- cgit v1.2.3