mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
raw tx electrumx fetch fix
This commit is contained in:
parent
0d775660c7
commit
466e2dd2de
1 changed files with 4 additions and 0 deletions
|
@ -544,6 +544,10 @@ class ElectrumX {
|
||||||
verbose,
|
verbose,
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
|
if (!verbose) {
|
||||||
|
return {"rawtx": response["result"] as String};
|
||||||
|
}
|
||||||
|
|
||||||
return Map<String, dynamic>.from(response["result"] as Map);
|
return Map<String, dynamic>.from(response["result"] as Map);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
rethrow;
|
rethrow;
|
||||||
|
|
Loading…
Reference in a new issue