Skip to content

Commit

Permalink
Rename liquidityPoolFee to feeBP
Browse files Browse the repository at this point in the history
  • Loading branch information
jopmiddelkamp committed Sep 5, 2024
1 parent 8e80e10 commit ca4b3e8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions StellarDotnetSdk/Operations/ChangeTrustOperation.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@ public ChangeTrustOperation(Asset asset, string? limit = null, IAccountId? sourc
/// </summary>
/// <param name="assetA">Asset A.</param>
/// <param name="assetB">Asset B.</param>
/// <param name="liquidityPoolFee">The fee for the liquidity pool</param>
/// <param name="feeBP">The fee in base points.</param>
/// <param name="limit">
/// The limit of the trustline.
/// <p>Leave empty to default to the max int64.</p>
/// <p>Set to 0 to remove the trust line.</p>
/// </param>
/// <param name="sourceAccount">(Optional) Source account of the operation.</param>
[Obsolete("Use the constructor with the ChangeTrustAsset parameter instead.")]
public ChangeTrustOperation(Asset assetA, Asset assetB, int? liquidityPoolFee = null, string? limit = null, IAccountId? sourceAccount = null) :
public ChangeTrustOperation(Asset assetA, Asset assetB, int? feeBP = null, string? limit = null, IAccountId? sourceAccount = null) :
base(sourceAccount)
{
Asset = ChangeTrustAsset.Create(assetA, assetB, liquidityPoolFee ?? LiquidityPoolParameters.Fee);
Asset = ChangeTrustAsset.Create(assetA, assetB, feeBP ?? LiquidityPoolParameters.Fee);
Limit = limit ?? MaxLimit;
}

Expand Down

0 comments on commit ca4b3e8

Please sign in to comment.