From abcc69aaacb8fe380918b25d50d251cfe7c0528d Mon Sep 17 00:00:00 2001 From: Erwan Or Date: Tue, 28 Jan 2025 15:15:11 -0500 Subject: [PATCH] dex: fix comment on state key roughpl --- crates/core/component/dex/src/state_key.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/component/dex/src/state_key.rs b/crates/core/component/dex/src/state_key.rs index b920bea4ed..eac0184806 100644 --- a/crates/core/component/dex/src/state_key.rs +++ b/crates/core/component/dex/src/state_key.rs @@ -158,7 +158,7 @@ pub mod lqt { /// The pair is always connected by the staking token, which is the implicit numeraire. /// /// # Encoding - /// The full key is encoded as: `prefix || asset || BE(volume)` + /// The full key is encoded as: `prefix || asset || BE(!volume)` pub(crate) fn _key( epoch_index: u64, asset: &asset::Id,