mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-18 06:24:24 +01:00
Randomize RBF if the user does not care
This commit is contained in:
@@ -40,7 +40,10 @@ namespace BTCPayServer.Controllers
|
||||
|
||||
if (network.SupportRBF)
|
||||
{
|
||||
psbtRequest.RBF = !sendModel.DisableRBF;
|
||||
if (sendModel.AllowFeeBump is WalletSendModel.ThreeStateBool.Yes)
|
||||
psbtRequest.RBF = true;
|
||||
if (sendModel.AllowFeeBump is WalletSendModel.ThreeStateBool.No)
|
||||
psbtRequest.RBF = false;
|
||||
}
|
||||
|
||||
psbtRequest.FeePreference = new FeePreference();
|
||||
|
||||
Reference in New Issue
Block a user