diff options
author | zelig <viktor.tron@gmail.com> | 2014-06-30 01:30:05 +0800 |
---|---|---|
committer | zelig <viktor.tron@gmail.com> | 2014-06-30 01:30:05 +0800 |
commit | dabaa4cce01586fd8b1b9314073a1d26f35355c8 (patch) | |
tree | fff48b2c62a1d717a7d95ffb99e9eb1d99dbf7bb /ethrpc | |
parent | 707d413761927f5ad95298e666e297b820ad0901 (diff) | |
download | dexon-dabaa4cce01586fd8b1b9314073a1d26f35355c8.tar dexon-dabaa4cce01586fd8b1b9314073a1d26f35355c8.tar.gz dexon-dabaa4cce01586fd8b1b9314073a1d26f35355c8.tar.bz2 dexon-dabaa4cce01586fd8b1b9314073a1d26f35355c8.tar.lz dexon-dabaa4cce01586fd8b1b9314073a1d26f35355c8.tar.xz dexon-dabaa4cce01586fd8b1b9314073a1d26f35355c8.tar.zst dexon-dabaa4cce01586fd8b1b9314073a1d26f35355c8.zip |
change all modified calls to ethtrie, ethutil and ethcrypto functions
Diffstat (limited to 'ethrpc')
-rw-r--r-- | ethrpc/packages.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethrpc/packages.go b/ethrpc/packages.go index 710275780..0662f0edd 100644 --- a/ethrpc/packages.go +++ b/ethrpc/packages.go @@ -182,7 +182,7 @@ func (p *EthereumApi) GetStorageAt(args *GetStorageArgs, reply *string) error { } else { // Convert the incoming string (which is a bigint) into hex i, _ := new(big.Int).SetString(args.Key, 10) - hx = ethutil.Hex(i.Bytes()) + hx = ethutil.Bytes2Hex(i.Bytes()) } logger.Debugf("GetStorageAt(%s, %s)\n", args.Address, hx) value := state.GetStorage(hx) |