Skip to content

Commit

Permalink
Update Validator.php (#2844)
Browse files Browse the repository at this point in the history
fix: #2843
  • Loading branch information
ledccn authored Oct 8, 2024
1 parent 90cf80c commit 8090679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pay/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function validate(MessageInterface $message): void
base64_decode($signature),
strval($publicKey),
OPENSSL_ALGO_SHA256
) === false) {
) !== 1) {
throw new InvalidSignatureException('Invalid Signature');
}
}
Expand Down

0 comments on commit 8090679

Please sign in to comment.