Skip to content

Commit

Permalink
Remove mention of version.
Browse files Browse the repository at this point in the history
  • Loading branch information
acoglio committed Dec 19, 2023
1 parent 193f089 commit 6723db0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/narwhal/batch-header/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub struct BatchHeader<N: Network> {
/// TODO (howardwu): For mainnet - Remove this version from the struct, we only use it here for backwards compatibility.
/// NOTE: You must keep the version encoding in the byte serialization, just remove it from the struct in memory.
version: u8,
/// The batch ID, defined as the hash of the version, author, round number, timestamp, transmission IDs,
/// The batch ID, defined as the hash of the author, round number, timestamp, transmission IDs,
/// previous batch certificate IDs, and last election certificate IDs (the latter only if the version is not 1,
/// for pre-mainnet backward compatibility).
batch_id: Field<N>,
Expand Down

0 comments on commit 6723db0

Please sign in to comment.