aboutsummaryrefslogtreecommitdiffstats
path: root/ethrpc
diff options
context:
space:
mode:
authorMaran <maran.hidskes@gmail.com>2014-06-25 20:05:55 +0800
committerMaran <maran.hidskes@gmail.com>2014-06-25 20:05:55 +0800
commit589d27386a4d630f052bf645a9e134a8b2d6fcad (patch)
treea642d7a68465e248e664867fbbea7c8c62f1e4f1 /ethrpc
parent0c55a113180955aa149a6e961c6e4bba9a7418e0 (diff)
downloadgo-tangerine-589d27386a4d630f052bf645a9e134a8b2d6fcad.tar
go-tangerine-589d27386a4d630f052bf645a9e134a8b2d6fcad.tar.gz
go-tangerine-589d27386a4d630f052bf645a9e134a8b2d6fcad.tar.bz2
go-tangerine-589d27386a4d630f052bf645a9e134a8b2d6fcad.tar.lz
go-tangerine-589d27386a4d630f052bf645a9e134a8b2d6fcad.tar.xz
go-tangerine-589d27386a4d630f052bf645a9e134a8b2d6fcad.tar.zst
go-tangerine-589d27386a4d630f052bf645a9e134a8b2d6fcad.zip
Fix key generation in ethPub
Diffstat (limited to 'ethrpc')
-rw-r--r--ethrpc/packages.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ethrpc/packages.go b/ethrpc/packages.go
index 34d7a3d6f..3f57f6982 100644
--- a/ethrpc/packages.go
+++ b/ethrpc/packages.go
@@ -184,6 +184,7 @@ func (p *EthereumApi) GetStorageAt(args *GetStorageArgs, reply *string) error {
i, _ := new(big.Int).SetString(args.Key, 10)
hx = ethutil.Hex(i.Bytes())
}
+ ethutil.Config.Log.Debugf("[JSON] GetStorageAt(%s, %s)\n", args.Address, hx)
value := state.GetStorage(hx)
*reply = NewSuccessRes(GetStorageAtRes{Address: args.Address, Key: args.Key, Value: value})
return nil