|
@@ -25,7 +25,7 @@ void validatePreVerificationStateCheck(
|
|
|
"secretKeyDecryptionNonce",
|
|
|
);
|
|
|
nullOrEmptyArgCheck(keyAttr.publicKey, "publicKey");
|
|
|
- if ((keyAttr.memLimit ?? 0) <= 0 || (keyAttr.opsLimit ?? 0) <= 0) {
|
|
|
+ if (keyAttr.memLimit <= 0 || keyAttr.opsLimit <= 0) {
|
|
|
throw ArgumentError("Key mem/OpsLimit can not be null or <0");
|
|
|
}
|
|
|
// check password encoding issues
|