Skip to content

Commit

Permalink
Update Permissions string
Browse files Browse the repository at this point in the history
  • Loading branch information
kkoshiya authored Aug 10, 2024
1 parent 4b54ec8 commit 3bf7902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/devdocs/Writing Smart Contracts/Permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ contract Test {
_output = FHE.asEuint8(_encryptedNumber);
}

function getSealedOutput(bytes32 publicKey) public view returns (bytes memory) {
function getSealedOutput(Permission memory signature) public view returns (string memory) {
// Seal the output for a specific publicKey
return FHE.sealoutput(_output, publicKey);
return FHE.sealoutput(_output, signature.publicKey);
}
}
```
Expand Down

0 comments on commit 3bf7902

Please sign in to comment.