Skip to content

Commit 98f8f40

Browse files
committed
docs(common): updates input
1 parent dab52c9 commit 98f8f40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/solidity-guides/inputs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ function transfer(
107107
bytes calldata inputProof
108108
) public {
109109
// Verify the provided encrypted amount and convert it into an encrypted uint64
110-
euint64 amount = FHE.asEuint64(encryptedAmount, inputProof);
110+
euint64 amount = FHE.fromExternal(encryptedAmount, inputProof);
111111
112112
// Function logic here, such as transferring funds
113113
...

0 commit comments

Comments
 (0)