From 4c3200ae6679962ecc512eed964fd5f8596473a0 Mon Sep 17 00:00:00 2001 From: andrewshab <152420261+andrewshab3@users.noreply.github.com> Date: Mon, 2 Feb 2026 15:04:52 +0100 Subject: [PATCH] Update VoteDecoder.cs --- src/Nethermind/Nethermind.Xdc/RLP/VoteDecoder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nethermind/Nethermind.Xdc/RLP/VoteDecoder.cs b/src/Nethermind/Nethermind.Xdc/RLP/VoteDecoder.cs index 9116c18635a0..ff3b6504f5af 100644 --- a/src/Nethermind/Nethermind.Xdc/RLP/VoteDecoder.cs +++ b/src/Nethermind/Nethermind.Xdc/RLP/VoteDecoder.cs @@ -93,7 +93,7 @@ public override int GetLength(Vote item, RlpBehaviors rlpBehaviors) private int GetContentLength(Vote item, RlpBehaviors rlpBehaviors) { return - (rlpBehaviors & RlpBehaviors.ForSealing) != RlpBehaviors.ForSealing ? Rlp.LengthOfSequence(Signature.Size) : 0 + ((rlpBehaviors & RlpBehaviors.ForSealing) != RlpBehaviors.ForSealing ? Rlp.LengthOfSequence(Signature.Size) : 0) + Rlp.LengthOf(item.GapNumber) + _xdcBlockInfoDecoder.GetLength(item.ProposedBlockInfo, rlpBehaviors); }