fix the issue with updating sending outputs (#1785)
Some checks are pending
Cache Dependencies / test (push) Waiting to run

This commit is contained in:
Serhii 2024-11-01 19:54:17 +02:00 committed by GitHub
parent 740f466e77
commit 4916d1f457
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -400,7 +400,8 @@ abstract class SendViewModelBase extends WalletChangeListenerViewModel with Stor
final updatedOutputs = bitcoin!.updateOutputs(pendingTransaction!, outputs);
if (outputs.length == updatedOutputs.length) {
outputs = ObservableList.of(updatedOutputs);
outputs.clear();
outputs.addAll(updatedOutputs);
}
}