mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Merge pull request #861 from bigchaindb/fix/pretty-pretty-print-transactions
chore: fix printing out transactions on block creation
This commit is contained in:
commit
e8701e88b9
@ -116,7 +116,7 @@ class BlockPipeline:
|
||||
Returns:
|
||||
:class:`~bigchaindb.models.Block`: The Block.
|
||||
"""
|
||||
logger.info('Write new block %s with %s transactions', block.id, block.transactions)
|
||||
logger.info('Write new block %s with %s transactions', block.id, len(block.transactions))
|
||||
self.bigchain.write_block(block)
|
||||
return block
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user