Skip to content

Commit

Permalink
Fixed clippy warnings with the latest next branch of miden-base (#…
Browse files Browse the repository at this point in the history
…428)

* fix: clippy warnings with the latest `next` branch of `miden-base`

* chore: update `Cargo.lock` to the latest `next`
  • Loading branch information
polydez authored Aug 2, 2024
1 parent afaa68f commit 21ef1ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion crates/store/src/db/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ impl From<NoteRecord> for NotePb {
fn from(note: NoteRecord) -> Self {
Self {
block_num: note.block_num,
note_index: note.note_index.to_absolute_index() as u32,
note_index: note.note_index.to_absolute_index(),
note_id: Some(note.note_id.into()),
metadata: Some(note.metadata.into()),
merkle_path: Some(note.merkle_path.into()),
Expand Down
2 changes: 1 addition & 1 deletion crates/store/src/server/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ impl api_server::Api for StoreApi {
.notes
.into_iter()
.map(|note| NoteSyncRecord {
note_index: note.note_index.to_absolute_index() as u32,
note_index: note.note_index.to_absolute_index(),
note_id: Some(note.note_id.into()),
metadata: Some(note.metadata.into()),
merkle_path: Some(note.merkle_path.into()),
Expand Down

0 comments on commit 21ef1ea

Please sign in to comment.