mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-18 02:07:43 +00:00
WIP refactoring, documentation, comments, warning reduction, formatting
This commit is contained in:
parent
a381cd0a47
commit
5f1e936435
2 changed files with 4 additions and 5 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit d9f7ec135b2613f30fcc6d6ab2509d5458dc2235
|
Subproject commit e260d01513dc8bce1ba3e3fc67a21fa94b4e5854
|
|
@ -111,12 +111,11 @@ mixin FusionWalletInterface {
|
||||||
|
|
||||||
// add stack utxos
|
// add stack utxos
|
||||||
List<UTXO> utxos = await _db.getUTXOs(_walletId).findAll();
|
List<UTXO> utxos = await _db.getUTXOs(_walletId).findAll();
|
||||||
await mainFusionObject.add_coins_from_wallet(utxos
|
await mainFusionObject.addCoinsFromWallet(
|
||||||
.map((e) => (txid: e.txid, vout: e.vout, value: e.value))
|
utxos.map((e) => (e.txid, e.vout, e.value)).toList());
|
||||||
.toList());
|
|
||||||
|
|
||||||
// fuse utxos
|
// fuse utxos
|
||||||
await mainFusionObject.fusion_run();
|
await mainFusionObject.fuse();
|
||||||
//print ("DEBUG FUSION bitcoincash_wallet.dart 1202");
|
//print ("DEBUG FUSION bitcoincash_wallet.dart 1202");
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue