diff --git a/docs/devdocs/Writing Smart Contracts/Debug-Logging.md b/docs/devdocs/Writing Smart Contracts/Debug-Logging.md index a05cd7f6..801e5bf1 100644 --- a/docs/devdocs/Writing Smart Contracts/Debug-Logging.md +++ b/docs/devdocs/Writing Smart Contracts/Debug-Logging.md @@ -71,7 +71,7 @@ contract EncryptedNumberContract { // DEBUG: Log the intermediate result uint256 debug_Result = FHE.decrypt(result); // Log the result - Console.log(result); + Console.log(int256(debug_Result)); // Perform more operations euint64 finalResult = result * FHE.asEuint64(encryptedA);