Skip to content

Commit

Permalink
chore: add out var to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
chancehudson committed Feb 15, 2023
1 parent 4637746 commit 873e5c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ import "poseidon-solidity/PoseidonT3.sol";
contract Example {
function hashInput(uint input0, uint input1) public {
PoseidonT3.hash([input0, input1]);
uint out = PoseidonT3.hash([input0, input1]);
// do something with it
}
}
```
Expand Down

0 comments on commit 873e5c3

Please sign in to comment.