rpc: myriad little fixes

This commit is contained in:
Ethan Buchman
2015-04-01 05:12:38 -07:00
parent 8cc8757252
commit 8fe1274323
4 changed files with 29 additions and 8 deletions

View File

@ -10,9 +10,9 @@ func GenPrivAccount() (*ResponseGenPrivAccount, error) {
return &ResponseGenPrivAccount{account.GenPrivAccount()}, nil
}
func GetAccount(addr []byte) (*ResponseGetAccount, error) {
func GetAccount(address []byte) (*ResponseGetAccount, error) {
cache := mempoolReactor.Mempool.GetCache()
return &ResponseGetAccount{cache.GetAccount(addr)}, nil
return &ResponseGetAccount{cache.GetAccount(address)}, nil
}
func GetStorage(address, slot []byte) (*ResponseGetStorage, error) {