Skip to content

Commit

Permalink
Return absolute note index (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
igamigo authored Apr 12, 2024
1 parent 6aa2c90 commit c29eb5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/src/server/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ impl api_server::Api for StoreApi {
.into_iter()
.map(|note| generated::note::Note {
block_num: note.block_num,
note_index: note.note_created.note_index,
note_index: note.note_created.absolute_note_index(),
note_id: Some(note.note_created.note_id.into()),
sender: Some(note.note_created.sender.into()),
tag: note.note_created.tag,
Expand Down

0 comments on commit c29eb5b

Please sign in to comment.