mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
pass in only required utxo data
This commit is contained in:
parent
8e767d200e
commit
f9fa0acb8c
2 changed files with 4 additions and 2 deletions
|
@ -1 +1 @@
|
|||
Subproject commit ec6b389562dee82e4d45e15d06c403726d70cb6c
|
||||
Subproject commit c643a17948a3ceedb2e21d111cc5d4d4e7d8d6f4
|
|
@ -27,7 +27,9 @@ mixin FusionInterface {
|
|||
// await _updateUTXOs();
|
||||
List<UTXO> utxos = await _db.getUTXOs(_walletId).findAll();
|
||||
Fusion mainFusionObject = Fusion();
|
||||
await mainFusionObject.add_coins_from_wallet(utxos);
|
||||
await mainFusionObject.add_coins_from_wallet(utxos
|
||||
.map((e) => (txid: e.txid, vout: e.vout, value: e.value))
|
||||
.toList());
|
||||
await mainFusionObject.fusion_run();
|
||||
//print ("DEBUG FUSION bitcoincash_wallet.dart 1202");
|
||||
|
||||
|
|
Loading…
Reference in a new issue