Skip to content

fix(cli, store): pass account_id filter to list_consumable_notes and simplify sqlite get_setting - #2449

Open
yappermoar-boop wants to merge 1 commit into
0xMiden:nextfrom
yappermoar-boop:fix-cli-notes-account-id-filter-and-sqlite-settings
Open

fix(cli, store): pass account_id filter to list_consumable_notes and simplify sqlite get_setting#2449
yappermoar-boop wants to merge 1 commit into
0xMiden:nextfrom
yappermoar-boop:fix-cli-notes-account-id-filter-and-sqlite-settings

Conversation

@yappermoar-boop

Copy link
Copy Markdown

In bin/miden-cli/src/commands/notes.rs, passed account_id.as_ref() to list_consumable_notes when listing consumable notes so the --account-id CLI filter is respected. In crates/sqlite-store/src/settings.rs, simplified get_setting to take &Connection and query directly without opening an unnecessary transaction for a SELECT query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant