Skip to content

Commit

Permalink
I love solidity
Browse files Browse the repository at this point in the history
  • Loading branch information
pcw109550 committed Feb 6, 2024
1 parent a104864 commit 540bd79
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions rvsol/src/Step.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ contract Step {
preimageOracle = _preimageOracle;
}

// we must use public scope because solidity compiler optimizes out
function localize(bytes32 _key, bytes32 _localContext) public view returns (bytes32 localizedKey_) {
return PreimageKeyLib.localize(_key, _localContext);
}
Expand Down

0 comments on commit 540bd79

Please sign in to comment.