diff options
author | Marian OANCΞA <contact@siteshop.ro> | 2014-11-18 15:21:06 +0800 |
---|---|---|
committer | Marian OANCΞA <contact@siteshop.ro> | 2014-11-18 15:21:06 +0800 |
commit | 8fe16df6c911f8262ae0eb839a3f036467ee0da7 (patch) | |
tree | 2370b76a7effe4fdae042d814be8250204268ab7 /lib/main.js | |
parent | 1a9624af5146a790f6bc8c5167bf5a6c006a6644 (diff) | |
parent | 27a8799e4809325bb2d7dbc7480a3de0f9d684d6 (diff) | |
download | go-tangerine-8fe16df6c911f8262ae0eb839a3f036467ee0da7.tar go-tangerine-8fe16df6c911f8262ae0eb839a3f036467ee0da7.tar.gz go-tangerine-8fe16df6c911f8262ae0eb839a3f036467ee0da7.tar.bz2 go-tangerine-8fe16df6c911f8262ae0eb839a3f036467ee0da7.tar.lz go-tangerine-8fe16df6c911f8262ae0eb839a3f036467ee0da7.tar.xz go-tangerine-8fe16df6c911f8262ae0eb839a3f036467ee0da7.tar.zst go-tangerine-8fe16df6c911f8262ae0eb839a3f036467ee0da7.zip |
Merge pull request #11 from debris/master
Update
Diffstat (limited to 'lib/main.js')
-rw-r--r-- | lib/main.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/main.js b/lib/main.js index e2caf6bc3..a8848674b 100644 --- a/lib/main.js +++ b/lib/main.js @@ -87,7 +87,8 @@ var ethMethods = function () { { name: 'uncle', call: uncleCall }, { name: 'compilers', call: 'eth_compilers' }, { name: 'lll', call: 'eth_lll' }, - { name: 'solidity', call: 'eth_solidity' } + { name: 'solidity', call: 'eth_solidity' }, + { name: 'serpent', call: 'eth_serpent' } ]; return methods; }; @@ -292,9 +293,8 @@ var web3 = { } }; -var eth = web3.eth; -setupMethods(eth, ethMethods()); -setupProperties(eth, ethProperties()); +setupMethods(web3.eth, ethMethods()); +setupProperties(web3.eth, ethProperties()); setupMethods(web3.db, dbMethods()); setupMethods(web3.shh, shhMethods()); |