diff options
author | obscuren <geffobscura@gmail.com> | 2014-03-03 18:05:12 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2014-03-03 18:05:12 +0800 |
commit | 9d492b0509d3614072e0f9ed9fd1dc560ba29fc9 (patch) | |
tree | baf8e50b664cc64e6e8d45a234922aacbc14c860 /ethchain/block.go | |
parent | bfed1c7cac98e135ba176c03bd7b4fe51c0dc932 (diff) | |
download | dexon-9d492b0509d3614072e0f9ed9fd1dc560ba29fc9.tar dexon-9d492b0509d3614072e0f9ed9fd1dc560ba29fc9.tar.gz dexon-9d492b0509d3614072e0f9ed9fd1dc560ba29fc9.tar.bz2 dexon-9d492b0509d3614072e0f9ed9fd1dc560ba29fc9.tar.lz dexon-9d492b0509d3614072e0f9ed9fd1dc560ba29fc9.tar.xz dexon-9d492b0509d3614072e0f9ed9fd1dc560ba29fc9.tar.zst dexon-9d492b0509d3614072e0f9ed9fd1dc560ba29fc9.zip |
Renamed Address to Account
Diffstat (limited to 'ethchain/block.go')
-rw-r--r-- | ethchain/block.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ethchain/block.go b/ethchain/block.go index b5739102c..20af73ba2 100644 --- a/ethchain/block.go +++ b/ethchain/block.go @@ -142,7 +142,7 @@ func (block *Block) PayFee(addr []byte, fee *big.Int) bool { data := block.state.trie.Get(string(block.Coinbase)) // Get the ether (Coinbase) and add the fee (gief fee to miner) - ether := NewAddressFromData([]byte(data)) + ether := NewAccountFromData([]byte(data)) base = new(big.Int) ether.Amount = base.Add(ether.Amount, fee) |