FIX: force using specific bitcoind wallet file

This commit is contained in:
Overtorment
2020-08-16 15:18:30 +01:00
parent 002fd6ffd0
commit d71bedbcd1
3 changed files with 7 additions and 1 deletions

View File

@@ -124,6 +124,11 @@ export class User {
});
}
async watchAddress(address) {
if (!address) return;
return this._bitcoindrpc.request('importaddress', [address, address, false]);
}
/**
* LndHub no longer relies on redis balance as source of truth, this is
* more a cache now. See `this.getCalculatedBalance()` to get correct balance.