From fec0e8e0dcc548b11cd2afb3f09f0994c91b89c9 Mon Sep 17 00:00:00 2001 From: sneurlax Date: Thu, 12 Oct 2023 14:08:52 -0500 Subject: [PATCH] add addresses to utxoDTOs --- lib/services/mixins/fusion_wallet_interface.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/services/mixins/fusion_wallet_interface.dart b/lib/services/mixins/fusion_wallet_interface.dart index 08292eeb9..5908b978e 100644 --- a/lib/services/mixins/fusion_wallet_interface.dart +++ b/lib/services/mixins/fusion_wallet_interface.dart @@ -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;