Fix bug: The wallet was sending only round amount of sat per byte

This commit is contained in:
nicolas.dorier
2020-09-03 17:27:48 +09:00
parent 13b9a7bf6e
commit 0d8e2f0d4a

View File

@@ -51,7 +51,7 @@ namespace BTCPayServer.Controllers
if (sendModel.FeeSatoshiPerByte is decimal v && if (sendModel.FeeSatoshiPerByte is decimal v &&
v > decimal.Zero) v > decimal.Zero)
{ {
psbtRequest.FeePreference.ExplicitFeeRate = new FeeRate(Money.Satoshis(v), 1); psbtRequest.FeePreference.ExplicitFeeRate = new FeeRate(v);
} }
if (sendModel.NoChange) if (sendModel.NoChange)
{ {