Skip to content

Debug panic at event.rs:896 #506

Closed
@TheBlueMatt

Description

@TheBlueMatt

On git f0338d1, I hit the debug panic for Payment with ID {} couldn't be found in store. Trace logs attached.

libbtcwallet.log

Activity

tnull

tnull commented on Mar 23, 2025

@tnull
Collaborator

Ah, seems this was introduced in cd8958f as we slightly changed the behavior of PaymentDetails::update there. While it previously was ~correct to interpret the return value Ok(false) as 'not found', now it really means 'was changed', i.e., 'needs repersisting'. Will see to open a PR with a fix soon.

added this to the 0.5 milestone on Mar 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Participants

      @tnull@TheBlueMatt

      Issue actions

        Debug panic at event.rs:896 · Issue #506 · lightningdevkit/ldk-node