We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e7c3ca commit 3c2219aCopy full SHA for 3c2219a
1 file changed
pallets/stableswap/src/lib.rs
@@ -1822,7 +1822,7 @@ impl<T: Config> Pallet<T> {
1822
debug_assert_ne!(
1823
initial_reserves.iter().map(|v| v.amount).collect::<Vec<u128>>(),
1824
final_reserves.iter().map(|v| v.amount).collect::<Vec<u128>>(),
1825
- "Reserves are not changed"
+ "Reserves have not changed"
1826
);
1827
let amplification = Self::get_amplification(&pool);
1828
let initial_d =
@@ -1845,7 +1845,7 @@ impl<T: Config> Pallet<T> {
1845
let final_r = FixedU128::from_rational(final_d, current_share_issuance);
1846
assert!(
1847
final_r >= initial_r,
1848
- "Add liquidity Invariant broken: R+ is less than initial R; {:?} <= {:?}",
+ "Remove liquidity Invariant broken: R+ is less than initial R; {:?} <= {:?}",
1849
initial_r,
1850
final_r
1851
0 commit comments