Skip to content

Refractor runtime persister to error out when not persisted - #320

Open
emma31-dev wants to merge 4 commits into
bitcoindevkit:masterfrom
emma31-dev:refractor/runtime-persister
Open

Refractor runtime persister to error out when not persisted#320
emma31-dev wants to merge 4 commits into
bitcoindevkit:masterfrom
emma31-dev:refractor/runtime-persister

Conversation

@emma31-dev

Copy link
Copy Markdown

Description

The persist() method of RuntimeWallet returns ok(()) wether or not the wallet was persisted or not. This is bad practice. My changes Return an error when wallet persistence fails instead of silently succeeding when no changes were written.

All Submissions:

  • I've signed all my commits
  • I followed the contribution guidelines
  • I ran cargo fmt and cargo clippy before committing

Thank you.

Return an error when wallet persistence fails instead of silently
succeeding when no changes were written.
@emma31-dev
emma31-dev force-pushed the refractor/runtime-persister branch from b9dfd02 to 8cc7f45 Compare September 7, 2026 14:04
Signed-off-by: emma31-dev <emmanuelfidel07@gmail.com>
@emma31-dev
emma31-dev force-pushed the refractor/runtime-persister branch from 682a107 to 49a2afd Compare September 7, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants