Skip to content

Commit

Permalink
fix: fix bin return
Browse files Browse the repository at this point in the history
  • Loading branch information
immortal-tofu committed Jun 26, 2024
1 parent 76a60dd commit d4bad5b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion bin/fhevm.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,14 @@ program
encryptedInput[`add${suffix}`](parseInt(values[i], 10));
});
const result = await encryptedInput.encrypt();
console.log(`0x${toHexString(result)}`);

console.log('Input proof:');
console.log(`0x${toHexString(result.inputProof)}`);
console.log('Handles:');
result.handles.forEach((handle, i) => {
console.log(`Handle ${i}`);
console.log(`0x${toHexString(handle)}`);
});
})
.requiredOption('-n, --node <url>', 'url of the blockchain');

Expand Down

0 comments on commit d4bad5b

Please sign in to comment.