Skip to content

Commit 3c2219a

Browse files
correct name
1 parent 3e7c3ca commit 3c2219a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pallets/stableswap/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1822,7 +1822,7 @@ impl<T: Config> Pallet<T> {
18221822
debug_assert_ne!(
18231823
initial_reserves.iter().map(|v| v.amount).collect::<Vec<u128>>(),
18241824
final_reserves.iter().map(|v| v.amount).collect::<Vec<u128>>(),
1825-
"Reserves are not changed"
1825+
"Reserves have not changed"
18261826
);
18271827
let amplification = Self::get_amplification(&pool);
18281828
let initial_d =
@@ -1845,7 +1845,7 @@ impl<T: Config> Pallet<T> {
18451845
let final_r = FixedU128::from_rational(final_d, current_share_issuance);
18461846
assert!(
18471847
final_r >= initial_r,
1848-
"Add liquidity Invariant broken: R+ is less than initial R; {:?} <= {:?}",
1848+
"Remove liquidity Invariant broken: R+ is less than initial R; {:?} <= {:?}",
18491849
initial_r,
18501850
final_r
18511851
);

0 commit comments

Comments
 (0)