spvnode: parse --no-wallet flag
To match behavior in `node` (fullnode) if a user wants to use `bmultisig` instead of the built-in wallet.
This commit is contained in:
parent
0b70a940a3
commit
3377e6536e
@ -24,7 +24,7 @@ const node = new SPVNode({
|
||||
});
|
||||
|
||||
// Temporary hack
|
||||
if (!node.has('walletdb')) {
|
||||
if (!node.config.bool('no-wallet') && !node.has('walletdb')) {
|
||||
const plugin = require('../lib/wallet/plugin');
|
||||
node.use(plugin);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user