Fixing namespace of couple methods in console. (#4538)

This commit is contained in:
Tomasz Drwięga 2017-02-14 11:03:23 +01:00 committed by Nikolay Volf
parent dd0ef6b5ec
commit bccd0991f6

View File

@ -394,7 +394,7 @@ web3._extend({
methods: [ methods: [
new web3._extend.Method({ new web3._extend.Method({
name: 'setMode', name: 'setMode',
call: 'ethcore_setMode', call: 'parity_setMode',
params: 1, params: 1,
}) })
] ]
@ -405,7 +405,7 @@ web3._extend({
methods: [ methods: [
new web3._extend.Method({ new web3._extend.Method({
name: 'mode', name: 'mode',
call: 'ethcore_mode', call: 'parity_mode',
params: 0, params: 0,
}) })
] ]
@ -428,7 +428,7 @@ web3._extend({
methods: [ methods: [
new web3._extend.Method({ new web3._extend.Method({
name: 'gasPriceStatistics', name: 'gasPriceStatistics',
call: 'ethcore_gasPriceStatistics', call: 'parity_gasPriceStatistics',
params: 0, params: 0,
outputFormatter: function(a) { return a.map(web3.toBigNumber); } outputFormatter: function(a) { return a.map(web3.toBigNumber); }
}) })
@ -440,7 +440,7 @@ web3._extend({
methods: [ methods: [
new web3._extend.Method({ new web3._extend.Method({
name: 'registryAddress', name: 'registryAddress',
call: 'ethcore_registryAddress', call: 'parity_registryAddress',
params: 0 params: 0
}) })
] ]
@ -514,7 +514,7 @@ web3._extend({
methods: [ methods: [
new web3._extend.Method({ new web3._extend.Method({
name: 'encryptMessage', name: 'encryptMessage',
call: 'ethcore_encryptMessage', call: 'parity_encryptMessage',
params: 2 params: 2
}) })
] ]
@ -536,7 +536,7 @@ web3._extend({
methods: [ methods: [
new web3._extend.Method({ new web3._extend.Method({
name: 'listAccounts', name: 'listAccounts',
call: 'ethcore_listAccounts', call: 'parity_listAccounts',
params: 0 params: 0
}) })
] ]