Skip to content

Commit a5f0a2d

Browse files
committed
Fix too-long-line
1 parent 7e0b15b commit a5f0a2d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rolling-shutter/keyper/epochkghandler/keyshare.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,11 @@ func (handler *DecryptionKeyShareHandler) ValidateMessage(ctx context.Context, m
7474
return pubsub.ValidationReject, errors.New("no key shares in message")
7575
}
7676
if len(keyShare.Shares) > int(handler.config.GetMaxNumKeysPerMessage()) {
77-
return pubsub.ValidationReject, errors.Errorf("too many key shares in message (%d > %d)", len(keyShare.Shares), handler.config.GetMaxNumKeysPerMessage())
77+
return pubsub.ValidationReject, errors.Errorf(
78+
"too many key shares in message (%d > %d)",
79+
len(keyShare.Shares),
80+
handler.config.GetMaxNumKeysPerMessage(),
81+
)
7882
}
7983

8084
validationResult, err := checkKeyShares(keyShare, pureDKGResult)

0 commit comments

Comments
 (0)