Skip to content

Commit

Permalink
[FAB-6057] typo: block should be blocks
Browse files Browse the repository at this point in the history
Change-Id: I8cec2fc48b80e79eba4b7e688243bc54e8e26584
Signed-off-by: Luis Sanchez <sanchezl@us.ibm.com>
  • Loading branch information
Luis Sanchez committed Jan 25, 2018
1 parent 4b419a6 commit 9167517
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bddtests/steps/bootstrap_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ def get_latest_configuration_block(deliverer_stream_helper, channel_id):
deliverer_stream_helper.seekToRange(chainID=channel_id, start=last_config.index, end=last_config.index)
blocks = deliverer_stream_helper.getBlocks()
assert len(blocks) == 1, "Expected single block, received: {0} blocks".format(len(blocks))
assert len(blocks[0].data.data) == 1, "Expected single transaction for configuration block, instead found {0} transactions".format(len(block.data.data))
assert len(blocks[0].data.data) == 1, "Expected single transaction for configuration block, instead found {0} transactions".format(len(blocks.data.data))
latest_config_block = blocks[0]
return latest_config_block

Expand Down

0 comments on commit 9167517

Please sign in to comment.