Skip to content

Commit

Permalink
WIP: remove catch by value
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronFeickert committed May 18, 2021
1 parent f6aa87a commit 2b7d1e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/liblelantus/range_verifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ bool RangeVerifier::verify(const std::vector<std::vector<GroupElement> >& V, con
// In the event of an attempt to invert a zero scalar, the batch is bad
try {
x_j_inv = LelantusPrimitives::invert(x_j); // NOTE: these could be batched across proofs as well for improved efficiency
} catch (std::runtime_error) {
} catch (const std::runtime_error&) {
return false;
}

Expand Down

0 comments on commit 2b7d1e4

Please sign in to comment.