all: remove version field from rpc.API

This commit is contained in:
lightclient@protonmail.com
2022-06-27 12:39:46 +02:00
parent 119f955686
commit 0c6f81f888
14 changed files with 2 additions and 38 deletions
-7
View File
@@ -101,31 +101,24 @@ func GetAPIs(apiBackend Backend) []rpc.API {
return []rpc.API{
{
Namespace: "eth",
Version: "1.0",
Service: NewEthereumAPI(apiBackend),
}, {
Namespace: "eth",
Version: "1.0",
Service: NewBlockChainAPI(apiBackend),
}, {
Namespace: "eth",
Version: "1.0",
Service: NewTransactionAPI(apiBackend, nonceLock),
}, {
Namespace: "txpool",
Version: "1.0",
Service: NewTxPoolAPI(apiBackend),
}, {
Namespace: "debug",
Version: "1.0",
Service: NewDebugAPI(apiBackend),
}, {
Namespace: "eth",
Version: "1.0",
Service: NewEthereumAccountAPI(apiBackend.AccountManager()),
}, {
Namespace: "personal",
Version: "1.0",
Service: NewPersonalAccountAPI(apiBackend, nonceLock),
},
}