You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.ok_or(anyhow!("Transaction was not found in script history"))?;
We store the initial tx ID as user_lockup_tx_id as soon as we see it in the mempool, but we don't update it in case it's RBF-ed.
One solution is to update it in our DB on RBF.
Another idea is to skip checking the tx ID here and instead get the 1st tx in the swap script history, since the 1st tx is by definition the lockup tx.
The text was updated successfully, but these errors were encountered:
In the following scenario:
receive-payment --method bitcoin --payer-amount-sat 50000
)The reason is that we are looking for the initial tx ID in the swap script history, instead of the new (RBF) tx ID:
breez-sdk-liquid/lib/core/src/chain_swap.rs
Lines 1180 to 1183 in 1389d49
We store the initial tx ID as
user_lockup_tx_id
as soon as we see it in the mempool, but we don't update it in case it's RBF-ed.One solution is to update it in our DB on RBF.
Another idea is to skip checking the tx ID here and instead get the 1st tx in the swap script history, since the 1st tx is by definition the lockup tx.
The text was updated successfully, but these errors were encountered: