fix stratum config

This commit is contained in:
Mononaut
2024-10-25 07:40:54 +00:00
parent 9ba7172b5b
commit d6283c54ee
6 changed files with 19 additions and 3 deletions

View File

@@ -155,6 +155,10 @@
"API": "https://mempool.space/api/v1/services",
"ACCELERATIONS": false
},
"STRATUM": {
"ENABLED": false,
"API": "http://localhost:1234"
},
"FIAT_PRICE": {
"ENABLED": true,
"PAID": false,

View File

@@ -154,6 +154,6 @@
},
"STRATUM": {
"ENABLED": false,
"API": "http://127.0.0.1:1234"
"API": "http://localhost:1234"
}
}

View File

@@ -162,7 +162,7 @@ describe('Mempool Backend Config', () => {
expect(config.STRATUM).toStrictEqual({
ENABLED: false,
API: 'http://127.0.0.1:1234',
API: 'http://localhost:1234',
});
});
});

View File

@@ -338,7 +338,7 @@ const defaults: IConfig = {
},
'STRATUM': {
'ENABLED': false,
'API': 'http://127.0.0.1:1234',
'API': 'http://localhost:1234',
}
};