Merge branch 'main' into zano-pr

This commit is contained in:
cyan 2024-11-12 02:26:06 +01:00 committed by GitHub
commit ae36e69a41
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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