fix the issue with updating sending outputs (#1785)
fix the issue with updating sending outputs (#1785)
Serhii committed
Nov 1, 2024 at 19:54 UTC
4916d1f4576e72542a57fcc8052e6a5038d25da2
1 file changed
+2
-1
lib/view_model/send/send_view_model.dart
+2
-1
@@ -400,7 +400,8 @@ abstract class SendViewModelBase extends WalletChangeListenerViewModel with Stor
400
final updatedOutputs = bitcoin!.updateOutputs(pendingTransaction!, outputs);
401
402
if (outputs.length == updatedOutputs.length) {
403
- outputs = ObservableList.of(updatedOutputs);
403
+ outputs.clear();
404
+ outputs.addAll(updatedOutputs);
405
}
406
}
407