From 2f83b739f425392e66be74b160668db797e6318e Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Tue, 28 Oct 2014 11:57:17 -0700 Subject: [PATCH] check isLocked. --- src/bitcoindjs.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bitcoindjs.cc b/src/bitcoindjs.cc index 56d4deaf..840c8e00 100644 --- a/src/bitcoindjs.cc +++ b/src/bitcoindjs.cc @@ -3191,6 +3191,7 @@ NAN_METHOD(WalletEncrypted) { "Usage: bitcoindjs.walletEncrypted()"); } + // bool isLocked = pwalletMain->IsLocked(); bool isEncrypted = pwalletMain->IsCrypted(); NanReturnValue(NanNew(isEncrypted));