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 /ethchain/block_chain.go | |
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 'ethchain/block_chain.go')
-rw-r--r-- | ethchain/block_chain.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/block_chain.go b/ethchain/block_chain.go index 6e4c72b27..7a481ed7c 100644 --- a/ethchain/block_chain.go +++ b/ethchain/block_chain.go @@ -278,7 +278,7 @@ func AddTestNetFunds(block *Block) { "e6716f9544a56c530d868e4bfbacb172315bdead", "1a26338f0d905e295fccb71fa9ea849ffa12aaf4", } { - codedAddr := ethutil.FromHex(addr) + codedAddr := ethutil.Hex2Bytes(addr) account := block.state.GetAccount(codedAddr) account.Amount = ethutil.Big("1606938044258990275541962092341162602522202993782792835301376") //ethutil.BigPow(2, 200) block.state.UpdateStateObject(account) |