check isLocked.

This commit is contained in:
Christopher Jeffrey 2014-10-28 11:57:17 -07:00
parent 15ebf5253e
commit 2f83b739f4
1 changed files with 1 additions and 0 deletions

View File

@ -3191,6 +3191,7 @@ NAN_METHOD(WalletEncrypted) {
"Usage: bitcoindjs.walletEncrypted()");
}
// bool isLocked = pwalletMain->IsLocked();
bool isEncrypted = pwalletMain->IsCrypted();
NanReturnValue(NanNew<Boolean>(isEncrypted));