mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-03-25 17:22:59 +01:00
chainntnfs: break out of loop once txIndex is found
This commit is contained in:
parent
95888613d0
commit
cc4617ca23
@ -395,6 +395,7 @@ func (b *BtcdNotifier) attemptHistoricalDispatch(msg *confirmationsNotification,
|
||||
h := t.TxHash()
|
||||
if txHash.IsEqual(&h) {
|
||||
txIndex = uint32(i)
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user