Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
benesjan committed Aug 21, 2024
1 parent 0a56bf9 commit d60f05f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions boxes/boxes/react/src/hooks/useContract.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export function useContract() {
Fr.random(),
wallet.getCompleteAddress().address,
masterNullifierPublicKey.hash(),
{ inner: masterOutgoingViewingPublicKey.toNoirStruct() },
{ inner: masterIncomingViewingPublicKey.toNoirStruct() },
masterOutgoingViewingPublicKey.toWrappedNoirStruct(),
masterIncomingViewingPublicKey.toWrappedNoirStruct(),
).send({
contractAddressSalt: salt,
});
Expand Down
4 changes: 2 additions & 2 deletions boxes/boxes/react/src/hooks/useNumber.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ export function useNumber({ contract }: { contract: Contract }) {
value,
deployerWallet.getCompleteAddress().address,
masterNullifierPublicKey.hash(),
{ inner: masterOutgoingViewingPublicKey.toNoirStruct() },
{ inner: masterIncomingViewingPublicKey.toNoirStruct() },
masterOutgoingViewingPublicKey.toWrappedNoirStruct(),
masterIncomingViewingPublicKey.toWrappedNoirStruct(),
)
.send()
.wait(),
Expand Down

0 comments on commit d60f05f

Please sign in to comment.