mirror of
https://github.com/sparrowwallet/sparrow.git
synced 2024-12-25 05:06:45 +00:00
add coin selection filter to exclude immature coinbase outputs
This commit is contained in:
parent
2debc07375
commit
237f97852d
2 changed files with 3 additions and 3 deletions
2
drongo
2
drongo
|
@ -1 +1 @@
|
||||||
Subproject commit c04c24945000f8f3c702801cea1c9921cc60cbbd
|
Subproject commit 57290a20a143bc0f0d8440fb3c14592c2e204e6b
|
|
@ -662,10 +662,10 @@ public class SendController extends WalletFormController implements Initializabl
|
||||||
private List<UtxoFilter> getUtxoFilters() {
|
private List<UtxoFilter> getUtxoFilters() {
|
||||||
UtxoFilter utxoFilter = utxoFilterProperty.get();
|
UtxoFilter utxoFilter = utxoFilterProperty.get();
|
||||||
if(utxoFilter != null) {
|
if(utxoFilter != null) {
|
||||||
return List.of(utxoFilter, new FrozenUtxoFilter());
|
return List.of(utxoFilter, new FrozenUtxoFilter(), new CoinbaseUtxoFilter(getWalletForm().getWallet()));
|
||||||
}
|
}
|
||||||
|
|
||||||
return List.of(new FrozenUtxoFilter());
|
return List.of(new FrozenUtxoFilter(), new CoinbaseUtxoFilter(getWalletForm().getWallet()));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateFeeRateSelection(FeeRatesSelection feeRatesSelection) {
|
private void updateFeeRateSelection(FeeRatesSelection feeRatesSelection) {
|
||||||
|
|
Loading…
Reference in a new issue