diff --git a/lib/g1/api.dart b/lib/g1/api.dart index 20882786ef7ad4fbc51b09e32ca07445b88a6e22..92eabfa82720731c2a68c4bf3ee16000b196695c 100644 --- a/lib/g1/api.dart +++ b/lib/g1/api.dart @@ -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;