From 3377e6536e328e33a98de621c77f1cf376f5053d Mon Sep 17 00:00:00 2001 From: Matthew Zipkin Date: Mon, 10 Dec 2018 15:06:16 -0800 Subject: [PATCH] spvnode: parse --no-wallet flag To match behavior in `node` (fullnode) if a user wants to use `bmultisig` instead of the built-in wallet. --- bin/spvnode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/spvnode b/bin/spvnode index 8e541c6e..fa52c6e4 100755 --- a/bin/spvnode +++ b/bin/spvnode @@ -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); }