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
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

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