From 9c5c30a872122fc44c0381c6ef382aeeb0d85673 Mon Sep 17 00:00:00 2001 From: Daniel Beal Date: Fri, 8 Dec 2023 20:37:40 +0900 Subject: [PATCH] fix spelling error --- protocol/synthetix/contracts/storage/Collateral.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocol/synthetix/contracts/storage/Collateral.sol b/protocol/synthetix/contracts/storage/Collateral.sol index 4ab64f9991..4af6513b70 100644 --- a/protocol/synthetix/contracts/storage/Collateral.sol +++ b/protocol/synthetix/contracts/storage/Collateral.sol @@ -17,7 +17,7 @@ library Collateral { /** * @dev Thrown when a specified market is not found. */ - error InsufficentAvailableCollateral( + error InsufficientAvailableCollateral( uint256 amountAvailableForDelegationD18, uint256 amountD18 ); @@ -53,7 +53,7 @@ library Collateral { */ function decreaseAvailableCollateral(Data storage self, uint256 amountD18) internal { if (self.amountAvailableForDelegationD18 < amountD18) { - revert InsufficentAvailableCollateral(self.amountAvailableForDelegationD18, amountD18); + revert InsufficientAvailableCollateral(self.amountAvailableForDelegationD18, amountD18); } self.amountAvailableForDelegationD18 -= amountD18; }