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 and bobbinth committed Apr 12, 2024
1 parent 0c831fb commit 5343fc9
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 5343fc9

Please sign in to comment.