Skip to content

Commit

Permalink
Fix weight of pool_join_with_exact_asset_amount (#508)
Browse files Browse the repository at this point in the history
  • Loading branch information
maltekliemann authored Mar 29, 2022
1 parent 4813294 commit b60064c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
30 changes: 15 additions & 15 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion zrml/swaps/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1592,7 +1592,7 @@ mod pallet {
pool_id,
pool: pool_ref,
};
let weight = T::WeightInfo::pool_exit_with_exact_asset_amount();
let weight = T::WeightInfo::pool_join_with_exact_asset_amount();
pool_join_with_exact_amount::<_, _, _, T>(params).map(|_| weight)
}

Expand Down

0 comments on commit b60064c

Please sign in to comment.