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; }