Skip to content

Commit

Permalink
Merge pull request #82 from skalenetwork/increase-wait-receipt-retrie…
Browse files Browse the repository at this point in the history
…s-number

Increase wait_receipt default retries number
  • Loading branch information
dmytrotkk authored Jan 20, 2020
2 parents c112f13 + d8e115e commit 9990647
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skale/utils/web3_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def get_eth_nonce(web3, address):
return web3.eth.getTransactionCount(address)


def wait_receipt(web3, tx, retries=10, timeout=5):
def wait_receipt(web3, tx, retries=30, timeout=5):
for _ in range(0, retries):
try:
receipt = get_receipt(web3, tx)
Expand Down

0 comments on commit 9990647

Please sign in to comment.