Skip to content

Commit

Permalink
add tx count to ConnectBlock
Browse files Browse the repository at this point in the history
  • Loading branch information
fffreedom committed Nov 30, 2018
1 parent a1c5cea commit 5fb5eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logic/lchain/lchain.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func ConnectBlock(pblock *block.Block, pindex *blockindex.BlockIndex, view *utxo
mempool.InitMempool()
}

log.Debug("Connect block heigh:%d, hash:%s", pindex.Height, blockHash)
log.Debug("Connect block heigh:%d, hash:%s, txs: %d", pindex.Height, blockHash, len(pblock.Txs))
return nil
}

Expand Down

0 comments on commit 5fb5eaf

Please sign in to comment.