File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -8381,11 +8381,11 @@ This indicates a bug inside LDK. Please report this error at https://github.com/
8381
8381
channel_id: Some(prev_hop.channel_id),
8382
8382
};
8383
8383
8384
- // Note that we do process the completion action here. This totally could be a
8385
- // duplicate claim, but we have no way of knowing without interrogating the
8386
- // `ChannelMonitor ` we've provided the above update to. Instead, note that `Event`s are
8387
- // generally always allowed to be duplicative (and it's specifically noted in
8388
- // `PaymentForwarded`).
8384
+ // We don't have any idea if this is a duplicate claim without interrogating the
8385
+ // `ChannelMonitor`, so we just always queue up the completion action after the
8386
+ // `ChannelMonitorUpdate ` we're about to generate. This may result in a duplicate `Event`,
8387
+ // but note that `Event`s are generally always allowed to be duplicative (and it's
8388
+ // specifically noted in `PaymentForwarded`).
8389
8389
let (action_opt, raa_blocker_opt) = completion_action(None, false);
8390
8390
8391
8391
if let Some(raa_blocker) = raa_blocker_opt {
You can’t perform that action at this time.
0 commit comments