Skip to content

Commit 3a9e349

Browse files
authored
docs: fix P256 example functions to be view instead of pure
1 parent c2eee49 commit 3a9e349

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/modules/ROOT/pages/utilities.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ function _verify(
4646
bytes32 s,
4747
bytes32 qx,
4848
bytes32 qy
49-
) internal pure returns (bool) {
49+
) internal view returns (bool) {
5050
return data.verify(data, r, s, qx, qy);
5151
}
5252
----
@@ -63,7 +63,7 @@ function _verify(
6363
bytes32 s,
6464
bytes32 qx,
6565
bytes32 qy
66-
) internal pure returns (bool) {
66+
) internal view returns (bool) {
6767
// Will only call the precompile at address(0x100)
6868
return data.verifyNative(data, r, s, qx, qy);
6969
}

0 commit comments

Comments
 (0)