mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-11-17 17:57:40 +00:00
add addresses to utxoDTOs
This commit is contained in:
parent
a076d7a8f5
commit
fec0e8e0dc
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue