mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
Fix bug: The wallet was sending only round amount of sat per byte
This commit is contained in:
parent
13b9a7bf6e
commit
0d8e2f0d4a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue