raw tx electrumx fetch fix

This commit is contained in:
julian 2023-01-27 10:46:38 -06:00
parent 0d775660c7
commit 466e2dd2de

View file

@ -544,6 +544,10 @@ class ElectrumX {
verbose,
],
);
if (!verbose) {
return {"rawtx": response["result"] as String};
}
return Map<String, dynamic>.from(response["result"] as Map);
} catch (e) {
rethrow;