diff --git a/src/bitcoin/poller/looper.rs b/src/bitcoin/poller/looper.rs index 54b9e82e..7aedd524 100644 --- a/src/bitcoin/poller/looper.rs +++ b/src/bitcoin/poller/looper.rs @@ -112,6 +112,8 @@ fn update_coins( // We need to take the newly received ones into account as well, as they may have been // spent within the previous tip and the current one, and we may not poll this chunk of the // chain anymore. + // NOTE: curr_coins contain the "spending" coins. So this takes care of updating the spend_txid + // if a coin's spending transaction gets RBF'd. let to_be_spent: Vec = curr_coins .values() .chain(received.iter())