mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
naming changed after review
This commit is contained in:
parent
ef66beb5cc
commit
01a374238c
2 changed files with 4 additions and 4 deletions
|
|
@ -18,7 +18,7 @@
|
|||
package web3ext
|
||||
|
||||
var Modules = map[string]string{
|
||||
"account": Account_JS,
|
||||
"accounting": Accounting_JS,
|
||||
"admin": Admin_JS,
|
||||
"chequebook": Chequebook_JS,
|
||||
"clique": Clique_JS,
|
||||
|
|
@ -694,9 +694,9 @@ web3._extend({
|
|||
});
|
||||
`
|
||||
|
||||
const Account_JS = `
|
||||
const Accounting_JS = `
|
||||
web3._extend({
|
||||
property: 'account',
|
||||
property: 'accounting',
|
||||
methods: [
|
||||
new web3._extend.Property({
|
||||
name: 'balance',
|
||||
|
|
|
|||
|
|
@ -519,7 +519,7 @@ func (self *Swarm) APIs() []rpc.API {
|
|||
Public: false,
|
||||
},
|
||||
{
|
||||
Namespace: "account",
|
||||
Namespace: "accounting",
|
||||
Version: protocols.AccountingVersion,
|
||||
Service: protocols.NewAccountingApi(self.accountingMetrics),
|
||||
Public: false,
|
||||
|
|
|
|||
Loading…
Reference in a new issue