aboutsummaryrefslogtreecommitdiffstats
path: root/miner/worker.go
diff options
context:
space:
mode:
authorGustav Simonsson <gustav.simonsson@gmail.com>2015-05-11 02:30:02 +0800
committerGustav Simonsson <gustav.simonsson@gmail.com>2015-05-12 23:22:17 +0800
commit2c1b0ff17e020f300ed9d5a5a244f59b4febfe66 (patch)
treecafa9b03743b00d4ef902ddf3effc1734e885a89 /miner/worker.go
parentfe9e95a3fd6275fe2740261d3d110c13de4aa0ce (diff)
downloadgo-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar
go-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.gz
go-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.bz2
go-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.lz
go-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.xz
go-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.tar.zst
go-tangerine-2c1b0ff17e020f300ed9d5a5a244f59b4febfe66.zip
Update key store to new spec but keep address field for now
* Also fix address types post-rebase
Diffstat (limited to 'miner/worker.go')
-rw-r--r--miner/worker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/miner/worker.go b/miner/worker.go
index 8698bb90d..f737be507 100644
--- a/miner/worker.go
+++ b/miner/worker.go
@@ -474,7 +474,7 @@ func gasprice(price *big.Int, pct int64) *big.Int {
func accountAddressesSet(accounts []accounts.Account) *set.Set {
accountSet := set.New()
for _, account := range accounts {
- accountSet.Add(common.BytesToAddress(account.Address))
+ accountSet.Add(account.Address)
}
return accountSet
}