diff --git a/packages/stellar_client/lib/src/client.dart b/packages/stellar_client/lib/src/client.dart index 2915798..202e01a 100644 --- a/packages/stellar_client/lib/src/client.dart +++ b/packages/stellar_client/lib/src/client.dart @@ -715,7 +715,7 @@ class Client { } } - /// Updating a DEX order by submitting a `ManageBuyOfferOperation` transaction. + /// Updating a DEX order by submitting a `ManageSellOfferOperation` transaction. /// /// This function allows user to update previously created order by its offerId. /// @@ -739,8 +739,8 @@ class Client { 'Offer with ID $offerId not found in user\'s account.'), ); - ManageBuyOfferOperation updateOfferOperation = - ManageBuyOfferOperationBuilder( + ManageSellOfferOperation updateOfferOperation = + ManageSellOfferOperationBuilder( targetOffer!.selling, targetOffer.buying, amount,