Skip to content

Debug panic at event.rs:896 #506

Closed

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

  1. 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.

  2. 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

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions