update fusiondart ref

This commit is contained in:
julian 2023-09-28 11:44:17 -06:00
parent 1df986e444
commit 331f5c7614
2 changed files with 10 additions and 14 deletions

@ -1 +1 @@
Subproject commit 6cd09fe76af5e20c3bf36dcd11bf26d20140e510
Subproject commit e4009d5f588e09ef91b77bae187279421d876e12

View file

@ -221,13 +221,7 @@ mixin FusionWalletInterface {
// Add stack UTXOs.
final List<UTXO> walletUtxos = await _db.getUTXOs(_walletId).findAll();
final List<
({
String txid,
int vout,
int value,
List<int> pubKey,
})> coinList = [];
final List<fusion.UtxoDTO> coinList = [];
// Loop through UTXOs, checking and adding valid ones.
for (final utxo in walletUtxos) {
@ -258,12 +252,14 @@ mixin FusionWalletInterface {
List<int> pubKey = scriptPubKeyHex.toUint8ListFromHex;
// Add UTXO to coinList.
coinList.add((
txid: utxo.txid,
vout: utxo.vout,
value: utxo.value,
pubKey: pubKey
));
coinList.add(
fusion.UtxoDTO(
txid: utxo.txid,
vout: utxo.vout,
value: utxo.value,
pubKey: pubKey,
),
);
}
// Add Stack UTXOs.