From 01a374238c3401d760e535ff5e8bd286397807a9 Mon Sep 17 00:00:00 2001 From: Jerzy Date: Thu, 20 Dec 2018 17:51:06 +0100 Subject: [PATCH] naming changed after review --- internal/web3ext/web3ext.go | 6 +++--- swarm/swarm.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go index 91a261d3a5..df7638ad8c 100644 --- a/internal/web3ext/web3ext.go +++ b/internal/web3ext/web3ext.go @@ -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', diff --git a/swarm/swarm.go b/swarm/swarm.go index 8ede959a37..89f4e87efb 100644 --- a/swarm/swarm.go +++ b/swarm/swarm.go @@ -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,