diff --git a/neo/Consensus/ConsensusContext.cs b/neo/Consensus/ConsensusContext.cs
index 18eb357589..a06c6c965b 100644
--- a/neo/Consensus/ConsensusContext.cs
+++ b/neo/Consensus/ConsensusContext.cs
@@ -205,18 +205,15 @@ private void SignPayload(ConsensusPayload payload)
return;
}
payload.Witness = sc.GetWitnesses()[0];
- }
-
- ///
- /// Return the expected block size
- ///
+ }
+
+ ///
+ /// Return the expected block size
+ ///
internal int GetExpectedBlockSize()
{
- var blockSize = GetExpectedBlockSizeWithoutTransactions(Transactions.Count);
-
- // Sum Txs
-
- return blockSize + Transactions.Values.Sum(u => u.Size);
+ return GetExpectedBlockSizeWithoutTransactions(Transactions.Count) + // Base size
+ Transactions.Values.Sum(u => u.Size); // Sum Txs
}
///