From e212e939804083f54fdb85ffcb65932c10da4025 Mon Sep 17 00:00:00 2001 From: marvikomo Date: Tue, 19 Mar 2024 12:32:10 +0100 Subject: [PATCH] update --- contracts/Vault.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contracts/Vault.sol b/contracts/Vault.sol index 45b8cd3..8bb890f 100644 --- a/contracts/Vault.sol +++ b/contracts/Vault.sol @@ -195,6 +195,8 @@ contract Vault is "Insufficient Balance" ); + + userCollateralBalance[msg.sender] += _depositAmount; totalCollateral += _depositAmount;