Add FIAT_PRICE category to backend config

This commit is contained in:
natsoni
2024-03-10 16:34:43 +01:00
parent ccf1121f19
commit b11164005c
6 changed files with 38 additions and 11 deletions

View File

@@ -51,7 +51,6 @@ describe('Mempool Backend Config', () => {
ALLOW_UNREACHABLE: true,
PRICE_UPDATES_PER_HOUR: 1,
MAX_TRACKED_ADDRESSES: 1,
CURRENCY_API_KEY: ''
});
expect(config.ELECTRUM).toStrictEqual({ HOST: '127.0.0.1', PORT: 3306, TLS_ENABLED: true });
@@ -153,6 +152,11 @@ describe('Mempool Backend Config', () => {
UNIX_SOCKET_PATH: '',
BATCH_QUERY_BASE_SIZE: 5000,
});
expect(config.FIAT_PRICE).toStrictEqual({
ENABLED: true,
API_KEY: '',
});
});
});