good morning!!!!

Skip to content
Snippets Groups Projects
Commit 833a1a4e authored by Jeffrey Wilcke's avatar Jeffrey Wilcke
Browse files

Block mining log

parent 3d2c3b01
No related branches found
No related tags found
No related merge requests found
......@@ -186,6 +186,7 @@ func main() {
txs := ethereum.TxPool.Flush()
// Create a new block which we're going to mine
block := ethereum.BlockManager.BlockChain().NewBlock(addr, txs)
log.Println("Mining on new block. Includes", len(block.Transactions()), "transactions")
// Apply all transactions to the block
ethereum.BlockManager.ApplyTransactions(block, block.Transactions())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment