From 119e652bfc2bfe5a8b163155a8fbf76df91f69fd Mon Sep 17 00:00:00 2001 From: vuittont60 <81072379+vuittont60@users.noreply.github.com> Date: Fri, 27 Oct 2023 15:20:53 +0800 Subject: [PATCH] fix: correct the variable name --- src/adl/error.cairo | 2 +- src/order/error.cairo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/adl/error.cairo b/src/adl/error.cairo index 78adb5a5..30ca0f29 100644 --- a/src/adl/error.cairo +++ b/src/adl/error.cairo @@ -3,5 +3,5 @@ mod AdlError { 'block_no_smaller_than_required'; const INVALID_SIZE_DELTA_FOR_ADL: felt252 = 'invalid_size_delta_for_adl'; const ADL_NOT_ENABLED: felt252 = 'adl_not_enabled'; - const POSTION_NOT_VALID: felt252 = 'position_not_valid'; + const POSITION_NOT_VALID: felt252 = 'position_not_valid'; } diff --git a/src/order/error.cairo b/src/order/error.cairo index 4e459faf..a311f480 100644 --- a/src/order/error.cairo +++ b/src/order/error.cairo @@ -14,7 +14,7 @@ mod OrderError { const EMPTY_SIZE_DELTA_IN_TOKENS: felt252 = 'empty_size_delta_in_tokens'; const UNEXPECTED_MARKET: felt252 = 'unexpected market'; const INVALID_SIZE_DELTA_FOR_ADL: felt252 = 'invalid_size_delta_for_adl'; - const POSTION_NOT_VALID: felt252 = 'position_not_valid'; + const POSITION_NOT_VALID: felt252 = 'position_not_valid'; const ORDER_ALREADY_FROZEN: felt252 = 'order_already_frozen';