Skip to content

Commit 7e0b15b

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

File tree

1 file changed

+5
-1
lines changed
  • rolling-shutter/keyper/epochkghandler

1 file changed

+5
-1
lines changed

rolling-shutter/keyper/epochkghandler/key.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ func (handler *DecryptionKeyHandler) ValidateMessage(ctx context.Context, msg p2
7373
return pubsub.ValidationReject, errors.New("no keys in message")
7474
}
7575
if len(key.Keys) > int(handler.config.GetMaxNumKeysPerMessage()) {
76-
return pubsub.ValidationReject, errors.Errorf("too many keys in message (%d > %d)", len(key.Keys), handler.config.GetMaxNumKeysPerMessage())
76+
return pubsub.ValidationReject, errors.Errorf(
77+
"too many keys in message (%d > %d)",
78+
len(key.Keys),
79+
handler.config.GetMaxNumKeysPerMessage(),
80+
)
7781
}
7882

7983
validationResult, err := checkKeysErrors(key.Keys, pureDKGResult)

0 commit comments

Comments
 (0)