aboutsummaryrefslogtreecommitdiffstats
path: root/miner
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-05-13 01:00:35 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-05-13 01:00:35 +0800
commitd6357aa616715df1e98cfb90c3aa5372e15cc24b (patch)
tree3f1792e7d71a82de0ceb6047eaf87f2f72aa82ff /miner
parent58d6ec689ff44232cd5d6a7cbbaad2d7a2cb44bd (diff)
parente389585f1f2e77fd7cd507499015bf3754581e4e (diff)
downloadgo-tangerine-d6357aa616715df1e98cfb90c3aa5372e15cc24b.tar
go-tangerine-d6357aa616715df1e98cfb90c3aa5372e15cc24b.tar.gz
go-tangerine-d6357aa616715df1e98cfb90c3aa5372e15cc24b.tar.bz2
go-tangerine-d6357aa616715df1e98cfb90c3aa5372e15cc24b.tar.lz
go-tangerine-d6357aa616715df1e98cfb90c3aa5372e15cc24b.tar.xz
go-tangerine-d6357aa616715df1e98cfb90c3aa5372e15cc24b.tar.zst
go-tangerine-d6357aa616715df1e98cfb90c3aa5372e15cc24b.zip
Merge pull request #631 from Gustav-Simonsson/improve_key_store_crypto
Improve key store crypto
Diffstat (limited to 'miner')
-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
}