add addresses to utxoDTOs

This commit is contained in:
sneurlax 2023-10-12 14:08:52 -05:00
parent a076d7a8f5
commit fec0e8e0dc

View file

@ -330,6 +330,7 @@ mixin FusionWalletInterface {
vout: utxo.vout,
value: utxo.value,
pubKey: pubKey,
address: utxo.address!, // TODO validate null assertion.
),
);
}
@ -418,6 +419,7 @@ extension FusionUTXO on UTXO {
vout: vout,
pubKey: addr.publicKey,
value: value,
address: address!, // TODO validate null assertion.
);
} catch (e) {
rethrow;