From 399ae2cd9e762ca43fefe136c702f94bc6aeaf3d Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sun, 1 Jul 2018 13:46:28 +0900 Subject: [PATCH] Fix: If DOGE fee becomes higher that 1 DOGE, the transaction would fail to broadcast --- BTCPayServer/Controllers/StoresController.BTCLike.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/BTCPayServer/Controllers/StoresController.BTCLike.cs b/BTCPayServer/Controllers/StoresController.BTCLike.cs index f415c42c2..790804f43 100644 --- a/BTCPayServer/Controllers/StoresController.BTCLike.cs +++ b/BTCPayServer/Controllers/StoresController.BTCLike.cs @@ -330,6 +330,8 @@ namespace BTCPayServer.Controllers var estimatedFee = builder.EstimateFees(feeRateValue); if (network.MinFee > estimatedFee) builder.SendFees(network.MinFee); + else + builder.SendEstimatedFees(feeRateValue); } builder.Shuffle(); var unsigned = builder.BuildTransaction(false);