cleanup rpc/handlers

This commit is contained in:
Jae Kwon
2015-03-30 15:55:05 -07:00
parent 1a4aab4c35
commit e257307b01
4 changed files with 148 additions and 174 deletions

View File

@ -18,8 +18,8 @@ import (
)
func TestJSONStatus(t *testing.T) {
s := rpc.JsonRpc{
JsonRpc: "2.0",
s := rpc.JSONRPC{
JSONRPC: "2.0",
Method: "status",
Params: []interface{}{},
Id: 0,
@ -53,8 +53,8 @@ func TestJSONStatus(t *testing.T) {
}
func TestJSONGenPriv(t *testing.T) {
s := rpc.JsonRpc{
JsonRpc: "2.0",
s := rpc.JSONRPC{
JSONRPC: "2.0",
Method: "unsafe/gen_priv_account",
Params: []interface{}{},
Id: 0,