Refactoring Bitcoin RPC client implementation

This commit is contained in:
softsimon
2021-09-15 01:47:24 +04:00
parent d602b20f56
commit 641d2ad028
13 changed files with 71 additions and 85 deletions

View File

@@ -112,7 +112,7 @@ class Server {
await memPool.$updateMemPoolInfo();
} catch (e) {
const msg = `updateMempoolInfo: ${(e instanceof Error ? e.message : e)}`;
if (config.CORE_RPC_MINFEE.ENABLED) {
if (config.SECOND_CORE_RPC.ENABLED) {
logger.warn(msg);
} else {
logger.debug(msg);