diff options
author | obscuren <geffobscura@gmail.com> | 2015-04-05 21:14:55 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-04-05 21:14:55 +0800 |
commit | 09d3f2cf2ab190f8d92497b735a1eb248cf2b507 (patch) | |
tree | f1d1edad593d5b5f52c492abea9e3ee1297fd185 /eth | |
parent | 5b9a0e711800013a27be73cf963823b61e1ef727 (diff) | |
download | go-tangerine-09d3f2cf2ab190f8d92497b735a1eb248cf2b507.tar go-tangerine-09d3f2cf2ab190f8d92497b735a1eb248cf2b507.tar.gz go-tangerine-09d3f2cf2ab190f8d92497b735a1eb248cf2b507.tar.bz2 go-tangerine-09d3f2cf2ab190f8d92497b735a1eb248cf2b507.tar.lz go-tangerine-09d3f2cf2ab190f8d92497b735a1eb248cf2b507.tar.xz go-tangerine-09d3f2cf2ab190f8d92497b735a1eb248cf2b507.tar.zst go-tangerine-09d3f2cf2ab190f8d92497b735a1eb248cf2b507.zip |
Update ethash
Diffstat (limited to 'eth')
-rw-r--r-- | eth/backend.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eth/backend.go b/eth/backend.go index cc4f807bf..ffc970212 100644 --- a/eth/backend.go +++ b/eth/backend.go @@ -296,7 +296,7 @@ func (s *Ethereum) PeersInfo() (peersinfo []*PeerInfo) { func (s *Ethereum) ResetWithGenesisBlock(gb *types.Block) { s.chainManager.ResetWithGenesisBlock(gb) - s.pow.UpdateCache(true) + s.pow.UpdateCache(0, true) } func (s *Ethereum) StartMining() error { |