Support Strike for Lightning Network

This commit is contained in:
Josh Harvey 2018-05-26 14:09:47 +03:00
parent 8d4a36865b
commit 3f9c139f83
11 changed files with 175 additions and 11 deletions

View file

@ -31,7 +31,7 @@ const reboots = {}
const devMode = argv.dev || options.http
function checkHasLightning (settings) {
return configManager.cryptoScoped('BTC', settings.config).wallet === 'lnd'
return configManager.cryptoScoped('BTC', settings.config).layer2 !== 'no-layer2'
}
function poll (req, res, next) {