aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api.go
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-03-13 22:56:41 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-03-13 22:56:41 +0800
commite3b64d70c212d893c147b8af62abe5c03fb2f492 (patch)
tree593a0e3a2affe2eb8a4979da244a6fb2289bba69 /rpc/api.go
parentd3f96dc720bcda6a3db45c69f6ff4ff66cac5ec0 (diff)
downloadgo-tangerine-e3b64d70c212d893c147b8af62abe5c03fb2f492.tar.gz
go-tangerine-e3b64d70c212d893c147b8af62abe5c03fb2f492.tar.zst
go-tangerine-e3b64d70c212d893c147b8af62abe5c03fb2f492.zip
Rename db_put db_get
Diffstat (limited to 'rpc/api.go')
-rw-r--r--rpc/api.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/rpc/api.go b/rpc/api.go
index 630fb32b5..af9f10530 100644
--- a/rpc/api.go
+++ b/rpc/api.go
@@ -723,18 +723,20 @@ func (p *EthereumApi) GetRequestReply(req *RpcRequest, reply *interface{}) error
return p.AllLogs(args, reply)
case "eth_getWork", "eth_submitWork":
return NewNotImplementedError(req.Method)
- case "db_put":
+ case "db_putString":
args := new(DbArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {
return err
}
return p.DbPut(args, reply)
- case "db_get":
+ case "db_getString":
args := new(DbArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {
return err
}
return p.DbGet(args, reply)
+ case "db_putHex", "db_getHex":
+ return NewNotImplementedError(req.Method)
case "shh_post":
args := new(WhisperMessageArgs)
if err := json.Unmarshal(req.Params, &args); err != nil {