From 6723db0c5c885ac8e9c02a2f6719e159b98cf2c0 Mon Sep 17 00:00:00 2001 From: Alessandro Coglio Date: Tue, 19 Dec 2023 16:09:38 +0100 Subject: [PATCH] Remove mention of version. --- ledger/narwhal/batch-header/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ledger/narwhal/batch-header/src/lib.rs b/ledger/narwhal/batch-header/src/lib.rs index 7a3af90ae1..06353543e1 100644 --- a/ledger/narwhal/batch-header/src/lib.rs +++ b/ledger/narwhal/batch-header/src/lib.rs @@ -35,7 +35,7 @@ pub struct BatchHeader { /// 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,