From bae46bb27d29cf6e64fd8a00a5dc47c97964e1de Mon Sep 17 00:00:00 2001 From: sneurlax Date: Tue, 8 Aug 2023 09:32:11 -0500 Subject: [PATCH] pass getUnusedReservedChangeAddresses to Fusion class --- lib/services/mixins/fusion_interface.dart | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/services/mixins/fusion_interface.dart b/lib/services/mixins/fusion_interface.dart index 5ee14b93e..451db5588 100644 --- a/lib/services/mixins/fusion_interface.dart +++ b/lib/services/mixins/fusion_interface.dart @@ -104,7 +104,10 @@ mixin FusionInterface { void fuse() async { // Initial attempt for CashFusion integration goes here. Fusion mainFusionObject = Fusion( - createNewReservedChangeAddress: () => createNewReservedChangeAddress()); + createNewReservedChangeAddress: () => createNewReservedChangeAddress(), + getUnusedReservedChangeAddresses: (int numberOfAddresses) => + getUnusedReservedChangeAddresses(numberOfAddresses), + ); // add stack utxos List utxos = await _db.getUTXOs(_walletId).findAll();