From c6d9640548d409e94873215ffb6ed05f8273c65d Mon Sep 17 00:00:00 2001 From: ZhangTao1596 Date: Wed, 21 Sep 2022 12:20:40 +0800 Subject: [PATCH] fix prepare request in recovery message --- src/DBFTPlugin/Consensus/ConsensusContext.MakePayload.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DBFTPlugin/Consensus/ConsensusContext.MakePayload.cs b/src/DBFTPlugin/Consensus/ConsensusContext.MakePayload.cs index cb0c03f3b..860f1846b 100644 --- a/src/DBFTPlugin/Consensus/ConsensusContext.MakePayload.cs +++ b/src/DBFTPlugin/Consensus/ConsensusContext.MakePayload.cs @@ -139,6 +139,7 @@ public ExtensiblePayload MakeRecoveryMessage() Timestamp = Block.Timestamp, Nonce = Block.Nonce, BlockIndex = Block.Index, + ValidatorIndex = Block.PrimaryIndex, TransactionHashes = TransactionHashes }; }