Config updates. Renamed BITCOIND to CORE_RPC.

This commit is contained in:
softsimon committed 2021-01-11 14:53:18 +07:00
1 parent 008bf695f1
commit b356ffc452
4 files changed
+19 -19

No files matched your search

+4 -4
View File
@@ -15,10 +15,10 @@ class BitcoinApi implements AbstractBitcoinApi {
constructor() {
this.bitcoindClient = new bitcoin.Client({
host: config.BITCOIND.HOST,
port: config.BITCOIND.PORT,
user: config.BITCOIND.USERNAME,
pass: config.BITCOIND.PASSWORD,
host: config.CORE_RPC.HOST,
port: config.CORE_RPC.PORT,
user: config.CORE_RPC.USERNAME,
pass: config.CORE_RPC.PASSWORD,
timeout: 60000,
});
}
+4 -4
View File
@@ -7,10 +7,10 @@ class BitcoinBaseApi {
constructor() {
this.bitcoindClient = new bitcoin.Client({
host: config.BITCOIND.HOST,
port: config.BITCOIND.PORT,
user: config.BITCOIND.USERNAME,
pass: config.BITCOIND.PASSWORD,
host: config.CORE_RPC.HOST,
port: config.CORE_RPC.PORT,
user: config.CORE_RPC.USERNAME,
pass: config.CORE_RPC.PASSWORD,
timeout: 60000,
});
}