Skip to content
Snippets Groups Projects
Commit 6ec24965 authored by vjrj's avatar vjrj
Browse files

Added mempool param

parent f99c21fb
No related branches found
No related tags found
No related merge requests found
......@@ -444,7 +444,10 @@ Future<http.Response> _requestWithRetry(
}
Future<String> pay(
{required String to, required double amount, String? comment}) async {
{required String to,
required double amount,
String? comment,
bool? useMempool}) async {
final String output = getGvaNode();
if (Uri.tryParse(output) != null) {
final String node = output;
......@@ -459,6 +462,7 @@ Future<String> pay(
amount: amount,
comment: comment ?? '',
cesiumSeed: wallet.seed,
useMempool: useMempool ?? false,
raiseException: true);
logger('GVA replied with "$response"');
return response;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment