mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 09:47:37 +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,
|
||||
],
|
||||
);
|
||||
if (!verbose) {
|
||||
return {"rawtx": response["result"] as String};
|
||||
}
|
||||
|
||||
return Map<String, dynamic>.from(response["result"] as Map);
|
||||
} catch (e) {
|
||||
rethrow;
|
||||
|
|
Loading…
Reference in a new issue