aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzelig <viktor.tron@gmail.com>2014-06-26 00:59:35 +0800
committerzelig <viktor.tron@gmail.com>2014-06-26 00:59:35 +0800
commita243e3b8588bb3a65af4a7131c279b9d94c62be1 (patch)
treeada631f00848e99e76f19531bfa07789af55bc6c
parent98f1ee9442d3b3d744e25dbddd9b54dc60180ad1 (diff)
downloaddexon-a243e3b8588bb3a65af4a7131c279b9d94c62be1.tar
dexon-a243e3b8588bb3a65af4a7131c279b9d94c62be1.tar.gz
dexon-a243e3b8588bb3a65af4a7131c279b9d94c62be1.tar.bz2
dexon-a243e3b8588bb3a65af4a7131c279b9d94c62be1.tar.lz
dexon-a243e3b8588bb3a65af4a7131c279b9d94c62be1.tar.xz
dexon-a243e3b8588bb3a65af4a7131c279b9d94c62be1.tar.zst
dexon-a243e3b8588bb3a65af4a7131c279b9d94c62be1.zip
new logger API for upstream merge
-rw-r--r--ethrpc/packages.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ethrpc/packages.go b/ethrpc/packages.go
index 3f57f6982..710275780 100644
--- a/ethrpc/packages.go
+++ b/ethrpc/packages.go
@@ -184,7 +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)
+ logger.Debugf("GetStorageAt(%s, %s)\n", args.Address, hx)
value := state.GetStorage(hx)
*reply = NewSuccessRes(GetStorageAtRes{Address: args.Address, Key: args.Key, Value: value})
return nil