Merge pull request #652 from pinheadmz/patch-8
spvnode: parse --no-wallet flag
This commit is contained in:
commit
aaec50fc4c
@ -24,7 +24,7 @@ const node = new SPVNode({
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Temporary hack
|
// Temporary hack
|
||||||
if (!node.has('walletdb')) {
|
if (!node.config.bool('no-wallet') && !node.has('walletdb')) {
|
||||||
const plugin = require('../lib/wallet/plugin');
|
const plugin = require('../lib/wallet/plugin');
|
||||||
node.use(plugin);
|
node.use(plugin);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user