Skip to content

Commit 50d12b7

Browse files
committed
fix workflow
1 parent 10c6448 commit 50d12b7

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

packages/stellar_client/lib/src/client.dart

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ class Client {
66
late KeyPair _keyPair;
77
late currency.Currencies _currencies;
88
late Map<String, String> _serviceUrls;
9-
late Map<String, String> _horizonServerUrls;
109
late Network _stellarNetwork;
1110

1211
String get accountId => _keyPair.accountId;
@@ -55,10 +54,6 @@ class Client {
5554
'PUBLIC': 'https://tokenservices.threefold.io/threefoldfoundation',
5655
'TESTNET': 'https://testnet.threefold.io/threefoldfoundation'
5756
};
58-
_horizonServerUrls = {
59-
'PUBLIC': 'https://horizon.stellar.org/',
60-
'TESTNET': 'https://horizon-testnet.stellar.org/'
61-
};
6257

6358
switch (_network) {
6459
case NetworkType.TESTNET:
@@ -737,7 +732,7 @@ class Client {
737732
ManageBuyOfferOperation updateOfferOperation =
738733
ManageBuyOfferOperationBuilder(
739734
targetOffer!.selling,
740-
targetOffer!.buying,
735+
targetOffer.buying,
741736
amount,
742737
price,
743738
).setOfferId(offerId).build();

0 commit comments

Comments
 (0)