Skip to content

Commit e6e5041

Browse files
committed
Make TickIndex::OFFSET private
1 parent dee5b4a commit e6e5041

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pallets/swap/src/tick.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ impl TickIndex {
172172

173173
/// All tick indexes are offset by this value for storage needs
174174
/// so that tick indexes are positive, which simplifies bit logic
175-
pub const OFFSET: Self = Self(MAX_TICK);
175+
const OFFSET: Self = Self(MAX_TICK);
176176

177177
/// Converts a sqrt price to a tick index, ensuring it's within valid bounds
178178
///

0 commit comments

Comments
 (0)