Skip to content

Commit

Permalink
Merge branch 'mkl-swaps-refactor' of github.com:zeitgeistpm/zeitgeist…
Browse files Browse the repository at this point in the history
… into mkl-swaps-refactor
  • Loading branch information
maltekliemann committed Feb 13, 2024
2 parents bc2e707 + f2cd83e commit ee584fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions primitives/src/traits/swaps.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ pub trait Swaps<AccountId> {

/// Buy the `asset_out`/`asset_in` pair from the pool for an exact amount of `asset_in`.
///
/// This function will error is both `min_asset_amount_out` and `max_price` are `None`.
/// This function will error if both `min_asset_amount_out` and `max_price` are `None`.
///
/// # Arguments
///
Expand All @@ -118,7 +118,7 @@ pub trait Swaps<AccountId> {

/// Buy the `asset_out`/`asset_in` pair from the pool, receiving an exact amount of `asset_out`.
///
/// This function will error is both `min_asset_amount_out` and `max_price` are `None`.
/// This function will error if both `min_asset_amount_out` and `max_price` are `None`.
///
/// # Arguments
///
Expand Down

0 comments on commit ee584fd

Please sign in to comment.