naming changed after review

This commit is contained in:
Jerzy 2018-12-20 17:51:06 +01:00
parent ef66beb5cc
commit 01a374238c
2 changed files with 4 additions and 4 deletions

View file

@ -18,7 +18,7 @@
package web3ext package web3ext
var Modules = map[string]string{ var Modules = map[string]string{
"account": Account_JS, "accounting": Accounting_JS,
"admin": Admin_JS, "admin": Admin_JS,
"chequebook": Chequebook_JS, "chequebook": Chequebook_JS,
"clique": Clique_JS, "clique": Clique_JS,
@ -694,9 +694,9 @@ web3._extend({
}); });
` `
const Account_JS = ` const Accounting_JS = `
web3._extend({ web3._extend({
property: 'account', property: 'accounting',
methods: [ methods: [
new web3._extend.Property({ new web3._extend.Property({
name: 'balance', name: 'balance',

View file

@ -519,7 +519,7 @@ func (self *Swarm) APIs() []rpc.API {
Public: false, Public: false,
}, },
{ {
Namespace: "account", Namespace: "accounting",
Version: protocols.AccountingVersion, Version: protocols.AccountingVersion,
Service: protocols.NewAccountingApi(self.accountingMetrics), Service: protocols.NewAccountingApi(self.accountingMetrics),
Public: false, Public: false,