From 8d52c8d99599bb1bf25f6a312354a2c354d51108 Mon Sep 17 00:00:00 2001 From: Swati Rawal Date: Wed, 4 Sep 2024 09:01:30 +0100 Subject: [PATCH] chore: fixed the contracts --- test/contracts/internalFunctionCall-return.zol | 2 +- test/contracts/internalFunctionCall-return2.zol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/contracts/internalFunctionCall-return.zol b/test/contracts/internalFunctionCall-return.zol index 6f806001..0bcec965 100644 --- a/test/contracts/internalFunctionCall-return.zol +++ b/test/contracts/internalFunctionCall-return.zol @@ -16,6 +16,6 @@ contract Assign { function remove(secret uint256 value, uint256 value1) public { uint256 c = add(value, value1); b += c + 1; - a -= value + value1; + a -= value1; } } \ No newline at end of file diff --git a/test/contracts/internalFunctionCall-return2.zol b/test/contracts/internalFunctionCall-return2.zol index c69f0f4b..9ca8f506 100644 --- a/test/contracts/internalFunctionCall-return2.zol +++ b/test/contracts/internalFunctionCall-return2.zol @@ -15,6 +15,6 @@ contract Assign { function remove(secret uint256 value, uint256 value1) public { uint256 c = add(value, value1); - a -= value + c; + a -= c; } } \ No newline at end of file