Skip to content

Commit 11ecd50

Browse files
committed
f If if nits
1 parent 197e263 commit 11ecd50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lightning-transaction-sync/src/esplora.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ where
108108
// First check for any unconfirmed transactions and act on it immediately.
109109
match maybe_await!(self.get_unconfirmed_transactions(&confirmables)) {
110110
Ok(unconfirmed_txs) => {
111-
// Double-check the tip hash. If if it changed, a reorg happened since
111+
// Double-check the tip hash. If it changed, a reorg happened since
112112
// we started syncing and we need to restart last-minute.
113113
let check_tip_hash = maybe_await!(self.client.get_tip_hash())?;
114114
if check_tip_hash != tip_hash {
@@ -144,7 +144,7 @@ where
144144

145145
match maybe_await!(self.get_confirmed_transactions(&sync_state)) {
146146
Ok(confirmed_txs) => {
147-
// Double-check the tip hash. If if it changed, a reorg happened since
147+
// Double-check the tip hash. If it changed, a reorg happened since
148148
// we started syncing and we need to restart last-minute.
149149
let check_tip_hash = maybe_await!(self.client.get_tip_hash())?;
150150
if check_tip_hash != tip_hash {

0 commit comments

Comments
 (0)