WIP: Clean up and fixes

This commit is contained in:
likho 2023-07-22 09:47:59 +02:00
parent c68b2e0d02
commit 4bdda9354c

View file

@ -228,7 +228,8 @@ class StellarWallet extends CoinServiceAPI
(await _currentReceivingAddress)?.value ?? await getAddressSW();
Future<int> getBaseFee() async {
final nodeURI = Uri.parse("${getCurrentNode().host}:${getCurrentNode().port}");
// final nodeURI = Uri.parse("${getCurrentNode().host}:${getCurrentNode().port}");
final nodeURI = Uri.parse(getCurrentNode().host);
final httpClient = http.Client();
FeeStatsResponse fsp = await FeeStatsRequestBuilder(httpClient, nodeURI).execute();
return int.parse(fsp.lastLedgerBaseFee);