Uh oh!
There was an error while loading. Please reload this page.
Bump LDK dependency for RecipientOnionFields and SpliceFailed changes - #806
Conversation
RecipientOnionFields::spontaneous_empty now takes the amount to send.
A splice's contributed inputs and outputs were moved from the SpliceFailed event to the DiscardFunding event under a new FundingInfo variant. Move the handling of reclaiming unused addresses to the DiscardFunding handler.
👋 Thanks for assigning @tnull as a reviewer! |
tnull
left a comment
There was a problem hiding this comment.
Looks good, mod one comment.
@benthecarman Do you intend to open a follow-up PR that actually adds new APIs making use of the RecipientOnionFields changes?
| output: outputs, | ||
| }; | ||
| if let Err(e) = self.wallet.cancel_tx(&tx) { | ||
| log_error!(self.logger, "Failed reclaiming unused addresses: {}", e); |
There was a problem hiding this comment.
Hmm, I think we should log that persistence failed here, as this is also why we replay the event. Otherwise we probably shouldn't replay.
There was a problem hiding this comment.
Wallet::cancel_tx already logs that.
Uh oh!
There was an error while loading. Please reload this page.
…vents Bump LDK dependency for `RecipientOnionFields` and `SpliceFailed` changes
Bumps the LDK dependency to include changes to the
RecipientOnionFieldsconstructor (lightningdevkit/rust-lightning#4373) andSpliceFailedevent (lightningdevkit/rust-lightning#4388).