Skip to content

Commit 0b363dc

Browse files
committed
f Move check one level deeper
1 parent 6ded069 commit 0b363dc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lightning-transaction-sync/src/esplora.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -283,10 +283,10 @@ where
283283
.get_output_status(&output.outpoint.txid, output.outpoint.index as u64))?
284284
{
285285
if let Some(spending_txid) = output_status.txid {
286-
if confirmed_txs.iter().any(|ctx| ctx.tx.txid() == spending_txid) {
287-
continue;
288-
}
289286
if let Some(spending_tx_status) = output_status.status {
287+
if confirmed_txs.iter().any(|ctx| ctx.tx.txid() == spending_txid) {
288+
continue;
289+
}
290290
if let Some(confirmed_tx) = maybe_await!(self
291291
.get_confirmed_tx(
292292
&spending_txid,

0 commit comments

Comments
 (0)