mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-24 13:46:43 +00:00
internal: move eth_config defn from web3.js to web3ext.go
This commit is contained in:
parent
2883e3a656
commit
f3c827ff48
2 changed files with 5 additions and 4 deletions
|
|
@ -5491,10 +5491,6 @@ var properties = function () {
|
|||
name: 'protocolVersion',
|
||||
getter: 'eth_protocolVersion'
|
||||
}),
|
||||
new Property({
|
||||
name: 'config',
|
||||
getter: 'eth_config'
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -595,6 +595,11 @@ web3._extend({
|
|||
call: 'eth_getBlockReceipts',
|
||||
params: 1,
|
||||
}),
|
||||
new web3._extend.Method({
|
||||
name: 'config',
|
||||
call: 'eth_config',
|
||||
params: 0,
|
||||
})
|
||||
],
|
||||
properties: [
|
||||
new web3._extend.Property({
|
||||
|
|
|
|||
Loading…
Reference in a new issue