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); }