Skip to content

Commit 66b6d64

Browse files
authored
fix update order to be sell operation as create order (#157)
1 parent 7f33a44 commit 66b6d64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/stellar_client/lib/src/client.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ class Client {
715715
}
716716
}
717717

718-
/// Updating a DEX order by submitting a `ManageBuyOfferOperation` transaction.
718+
/// Updating a DEX order by submitting a `ManageSellOfferOperation` transaction.
719719
///
720720
/// This function allows user to update previously created order by its offerId.
721721
///
@@ -739,8 +739,8 @@ class Client {
739739
'Offer with ID $offerId not found in user\'s account.'),
740740
);
741741

742-
ManageBuyOfferOperation updateOfferOperation =
743-
ManageBuyOfferOperationBuilder(
742+
ManageSellOfferOperation updateOfferOperation =
743+
ManageSellOfferOperationBuilder(
744744
targetOffer!.selling,
745745
targetOffer.buying,
746746
amount,

0 commit comments

Comments
 (0)