mirror of
https://github.com/basicswap/basicswap.git
synced 2025-01-03 17:29:26 +00:00
Update basicswap/basicswap.py
Co-authored-by: nahuhh <50635951+nahuhh@users.noreply.github.com>
This commit is contained in:
parent
4942f23de6
commit
56cd6da556
1 changed files with 1 additions and 1 deletions
|
@ -8767,7 +8767,7 @@ class BasicSwap(BaseApp):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
chain_height = ci_to.getChainHeight()
|
chain_height = ci_to.getChainHeight()
|
||||||
lock_tx_depth = (chain_height - bid.xmr_b_lock_tx.chain_height) + 1
|
lock_tx_depth = (chain_height - bid.xmr_b_lock_tx.chain_height)
|
||||||
if lock_tx_depth < ci_to.depth_spendable():
|
if lock_tx_depth < ci_to.depth_spendable():
|
||||||
raise TemporaryError(
|
raise TemporaryError(
|
||||||
f"Chain B lock tx still confirming {lock_tx_depth} / {ci_to.depth_spendable()}."
|
f"Chain B lock tx still confirming {lock_tx_depth} / {ci_to.depth_spendable()}."
|
||||||
|
|
Loading…
Reference in a new issue