Removed debug & unused functions
This commit is contained in:
@ -145,7 +145,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)
|
||||
|
Reference in New Issue
Block a user