Skip to content

Commit

Permalink
Fix Blockchain.awaitTxConfirmation()
Browse files Browse the repository at this point in the history
`counter` clearly should start from 0, otherwise only one try is
performed.
  • Loading branch information
bitphage committed Nov 14, 2019
1 parent 98ef577 commit 4f5c07e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphenecommon/blockchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ def awaitTxConfirmation(self, transaction, limit=10):
transaction contented and thus identifies a transaction
uniquely.
"""
counter = 10
counter = 0
for block in self.blocks():
counter += 1
for tx in block["transactions"]:
Expand Down

0 comments on commit 4f5c07e

Please sign in to comment.