From 363499810e656a5ebeda1b9c25703697b1911aa1 Mon Sep 17 00:00:00 2001 From: Chance Date: Wed, 15 Feb 2023 02:57:31 -0600 Subject: [PATCH] chore: readme update example --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 59d5a6b..862f296 100644 --- a/README.md +++ b/README.md @@ -26,10 +26,11 @@ npm i poseidon-solidity import "poseidon-solidity/PoseidonT3.sol"; contract Example { - function hashInput(uint input0, uint input1) public { + + function combine(uint input0, uint input1) public { uint out = PoseidonT3.hash([input0, input1]); - // do something with it } + } ```