moving logic to RpdFeeProvider
MODIFY
WalletWasabi/Bases/PeriodicRunner.cs
WalletWasabi/Bases/PeriodicRunner.cs
@@ -90,10 +90,6 @@ public abstract class PeriodicRunner : BackgroundService
{
Logger.LogTrace(ex);
}
- catch (NBitcoin.RPC.NoEstimationException ex)
- {
- Logger.LogInfo("Couldn't get fee estimation from Bitcoin Core, probably because it was not yet initialized");
- }
catch (Exception ex)
{
// Exception encountered, process it.

MODIFY
WalletWasabi/BitcoinCore/Monitoring/RpcFeeProvider.cs
WalletWasabi/BitcoinCore/Monitoring/RpcFeeProvider.cs
@@ -40,6 +40,11 @@ public class RpcFeeProvider : PeriodicRunner
}
InError = false;
}
+ catch(NoEstimationException ex)
+ {
+ Logging.Logger.LogInfo("Couldn't get fee estimation from Bitcoin Core, probably because it was not yet initialized");
+ InError = true;
+ }
catch
{
InError = true;

moving logic to RpdFeeProvider