From b9c9d5e3ea8be3149642ecce7141856e3e16247c Mon Sep 17 00:00:00 2001 From: wmjae Date: Mon, 6 Jan 2025 10:57:46 +0800 Subject: [PATCH] fix typos --- crates/sui-framework/docs/deepbook/clob_v2.md | 2 +- crates/sui-framework/packages/deepbook/sources/clob_v2.move | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/sui-framework/docs/deepbook/clob_v2.md b/crates/sui-framework/docs/deepbook/clob_v2.md index b2c983ce429b2..05361b9017c35 100644 --- a/crates/sui-framework/docs/deepbook/clob_v2.md +++ b/crates/sui-framework/docs/deepbook/clob_v2.md @@ -3822,7 +3822,7 @@ The latter is the corresponding depth list let (price_low_, _) = critbit::min_leaf(&pool.bids); let (price_high_, _) = critbit::max_leaf(&pool.bids); - // If price_low is greater than the higest element in the tree, we return empty + // If price_low is greater than the highest element in the tree, we return empty if (price_low > price_high_) { return (price_vec, depth_vec) }; diff --git a/crates/sui-framework/packages/deepbook/sources/clob_v2.move b/crates/sui-framework/packages/deepbook/sources/clob_v2.move index da71471b5cfd1..06e3df079566d 100644 --- a/crates/sui-framework/packages/deepbook/sources/clob_v2.move +++ b/crates/sui-framework/packages/deepbook/sources/clob_v2.move @@ -2008,7 +2008,7 @@ module deepbook::clob_v2 { let (price_low_, _) = critbit::min_leaf(&pool.bids); let (price_high_, _) = critbit::max_leaf(&pool.bids); - // If price_low is greater than the higest element in the tree, we return empty + // If price_low is greater than the highest element in the tree, we return empty if (price_low > price_high_) { return (price_vec, depth_vec) };