diff options
author | Maran <maran.hidskes@gmail.com> | 2014-04-01 21:54:29 +0800 |
---|---|---|
committer | Maran <maran.hidskes@gmail.com> | 2014-04-01 21:54:29 +0800 |
commit | 782910eaa76bb31be4c2bcd0f4505b8085acb57c (patch) | |
tree | 79dfa501fc8224919734a66d842b185027612401 /ethminer | |
parent | 3558dd5ed4e14f124f04e2bf72fc3b989dff9e77 (diff) | |
download | go-tangerine-782910eaa76bb31be4c2bcd0f4505b8085acb57c.tar go-tangerine-782910eaa76bb31be4c2bcd0f4505b8085acb57c.tar.gz go-tangerine-782910eaa76bb31be4c2bcd0f4505b8085acb57c.tar.bz2 go-tangerine-782910eaa76bb31be4c2bcd0f4505b8085acb57c.tar.lz go-tangerine-782910eaa76bb31be4c2bcd0f4505b8085acb57c.tar.xz go-tangerine-782910eaa76bb31be4c2bcd0f4505b8085acb57c.tar.zst go-tangerine-782910eaa76bb31be4c2bcd0f4505b8085acb57c.zip |
Small tweaks
Diffstat (limited to 'ethminer')
-rw-r--r-- | ethminer/miner.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ethminer/miner.go b/ethminer/miner.go index 125eb6fb1..60af3ab31 100644 --- a/ethminer/miner.go +++ b/ethminer/miner.go @@ -130,7 +130,6 @@ func (miner *Miner) listener() { err := miner.ethereum.StateManager().ProcessBlock(miner.block, true) if err != nil { log.Println("Error result from process block:", err) - log.Println(miner.block) } else { if !miner.ethereum.StateManager().Pow.Verify(miner.block.HashNoNonce(), miner.block.Difficulty, miner.block.Nonce) { @@ -138,7 +137,6 @@ func (miner *Miner) listener() { } miner.ethereum.Broadcast(ethwire.MsgBlockTy, []interface{}{miner.block.Value().Val}) log.Printf("[MINER] 🔨 Mined block %x\n", miner.block.Hash()) - log.Println(miner.block) miner.txs = []*ethchain.Transaction{} // Move this somewhere neat miner.block = miner.ethereum.BlockChain().NewBlock(miner.coinbase, miner.txs) |