Skip to content

Commit

Permalink
Revert error message to fix js logic tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
codygunton committed Feb 27, 2023
1 parent 81de590 commit ffa0396
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/src/aztec/stdlib/encryption/schnorr/schnorr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,8 @@ template <typename C>
void verify_signature(const byte_array<C>& message, const point<C>& pub_key, const signature_bits<C>& sig)
{
auto [output_lo, output_hi] = verify_signature_internal(message, pub_key, sig);
output_lo.assert_equal(sig.e_lo, "signature verification failed on low limb");
output_hi.assert_equal(sig.e_hi, "signature verification failed on high limb");
output_lo.assert_equal(sig.e_lo, "verify signature failed");
output_hi.assert_equal(sig.e_hi, "verify signature failed");
}

/**
Expand Down

0 comments on commit ffa0396

Please # to comment.