Skip to content

Commit

Permalink
spvnode: parse --no-wallet flag
Browse files Browse the repository at this point in the history
To match behavior in `node` (fullnode) if a user wants to use `bmultisig` instead of the built-in wallet.
  • Loading branch information
pinheadmz authored and nodech committed Jan 13, 2019
1 parent 4f928c9 commit 789d9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/spvnode
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 789d9a3

Please sign in to comment.