Skip to content

Commit

Permalink
clear warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
darcys22 committed Aug 30, 2024
1 parent 8212c43 commit a51a8e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/test/BN256G2EchidnaTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ contract BN256G2EchidnaTest {
Hm = BN256G2.hashToG2(message, dummyTag);
}

function echidna_always_hashable() public returns (bool) {
function echidna_always_hashable() public view returns (bool) {
return BN256G2.IsOnCurve(Hm.X[1], Hm.X[0], Hm.Y[1], Hm.Y[0]);
}
}

0 comments on commit a51a8e2

Please sign in to comment.