Renamed Address to Account

This commit is contained in:
obscuren
2014-03-03 11:05:12 +01:00
parent bfed1c7cac
commit 9d492b0509
4 changed files with 23 additions and 23 deletions

View File

@ -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)