Skip to content

Commit

Permalink
api: increase receipt timeout value fetching to fix Windows loop ti…
Browse files Browse the repository at this point in the history
…me inaccuracy (#291)
  • Loading branch information
ixje authored Oct 26, 2023
1 parent bfc616e commit ae0fa36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neo3/api/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -615,7 +615,7 @@ async def _get_receipt_time_values(self) -> tuple[float, float]:
result.protocol.ms_per_block / 1000
) / 5
timeout = self._receipt_timeout = (
result.protocol.ms_per_block / 1000
(result.protocol.ms_per_block / 1000) * 2
) + self._receipt_retry_delay
return delay, timeout
else:
Expand Down

0 comments on commit ae0fa36

Please sign in to comment.