Skip to content

Commit

Permalink
tests: timeout pay, since it's not noticing rejection
Browse files Browse the repository at this point in the history
  • Loading branch information
daywalker90 committed Nov 18, 2024
1 parent 6c9aec3 commit 974d77b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def generate_random_number():
def pay_with_thread(rpc, bolt11):
LOGGER = logging.getLogger(__name__)
try:
rpc.dev_pay(bolt11, dev_use_shadow=False)
rpc.dev_pay(bolt11, dev_use_shadow=False, retry_for=10)
except Exception as e:
LOGGER.info(f"holdinvoice: Error paying payment hash:{e}")
pass
Expand Down

0 comments on commit 974d77b

Please sign in to comment.