mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 20:09:23 +00:00
WIP: Clean up and fixes
This commit is contained in:
parent
c68b2e0d02
commit
4bdda9354c
1 changed files with 2 additions and 1 deletions
|
@ -228,7 +228,8 @@ class StellarWallet extends CoinServiceAPI
|
||||||
(await _currentReceivingAddress)?.value ?? await getAddressSW();
|
(await _currentReceivingAddress)?.value ?? await getAddressSW();
|
||||||
|
|
||||||
Future<int> getBaseFee() async {
|
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();
|
final httpClient = http.Client();
|
||||||
FeeStatsResponse fsp = await FeeStatsRequestBuilder(httpClient, nodeURI).execute();
|
FeeStatsResponse fsp = await FeeStatsRequestBuilder(httpClient, nodeURI).execute();
|
||||||
return int.parse(fsp.lastLedgerBaseFee);
|
return int.parse(fsp.lastLedgerBaseFee);
|
||||||
|
|
Loading…
Reference in a new issue