Skip to content

Commit

Permalink
change var to const
Browse files Browse the repository at this point in the history
  • Loading branch information
nkryuchkov committed Aug 7, 2024
1 parent 08f2cf5 commit c625f2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message/validation/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const (
maxFullDataSize = 5243144 // from spectypes.SignedSSVMessage
)

var (
const (
maxPayloadDataSize = max(maxConsensusMsgSize, maxPartialSignatureMsgsSize)
maxSignedMsgSize = maxSignaturesSize + maxOperatorIDSize + msgTypeSize + identifierSize + maxPayloadDataSize + maxFullDataSize
maxEncodedMsgSize = maxSignedMsgSize + maxSignedMsgSize/10 // 10% for encoding overhead
Expand Down

0 comments on commit c625f2c

Please sign in to comment.