Skip to content

Commit

Permalink
proto: fix inaccurate comment about note ciphertext length
Browse files Browse the repository at this point in the history
  • Loading branch information
redshiftzero committed Feb 5, 2024
1 parent 912d725 commit effbf66
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ message NoteView {
}

// An encrypted note.
// 132 = 1(type) + 11(d) + 8(amount) + 32(asset_id) + 32(rcm) + 32(pk_d) + 16(MAC) bytes.
// 176 = 80(address) + 16(amount) + 32(asset ID) + 32(rseed) + 16(MAC) bytes.
message NoteCiphertext {
bytes inner = 1;
}
Expand All @@ -58,7 +58,7 @@ message NotePayload {
// The encoding of an ephemeral public key. 32 bytes.
bytes ephemeral_key = 2;
// An encryption of the newly created note.
// 132 = 1(type) + 11(d) + 8(amount) + 32(asset_id) + 32(rcm) + 32(pk_d) + 16(MAC) bytes.
// 176 = 80(address) + 16(amount) + 32(asset ID) + 32(rseed) + 16(MAC) bytes.
NoteCiphertext encrypted_note = 3;
}

Expand Down

0 comments on commit effbf66

Please sign in to comment.