mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
Remove randomize RBF from wallet UI advanced settings (#5709)
* Remove randomize RBF from wallet UI advanced settings * remove support RBF and allow bump fee from wallet send model * update psbt RBF
This commit is contained in:
committed by
GitHub
parent
6290b0f3bf
commit
a8fdc4798d
@@ -42,15 +42,7 @@ namespace BTCPayServer.Controllers
|
||||
psbtDestination.Amount = Money.Coins(transactionOutput.Amount.Value);
|
||||
psbtDestination.SubstractFees = transactionOutput.SubtractFeesFromOutput;
|
||||
}
|
||||
|
||||
if (network.SupportRBF)
|
||||
{
|
||||
if (sendModel.AllowFeeBump is WalletSendModel.ThreeStateBool.Yes)
|
||||
psbtRequest.RBF = true;
|
||||
if (sendModel.AllowFeeBump is WalletSendModel.ThreeStateBool.No)
|
||||
psbtRequest.RBF = false;
|
||||
}
|
||||
|
||||
psbtRequest.RBF = network.SupportRBF ? true : null;
|
||||
psbtRequest.AlwaysIncludeNonWitnessUTXO = sendModel.AlwaysIncludeNonWitnessUTXO;
|
||||
|
||||
psbtRequest.FeePreference = new FeePreference();
|
||||
|
||||
Reference in New Issue
Block a user