check isLocked.
This commit is contained in:
parent
15ebf5253e
commit
2f83b739f4
|
@ -3191,6 +3191,7 @@ NAN_METHOD(WalletEncrypted) {
|
|||
"Usage: bitcoindjs.walletEncrypted()");
|
||||
}
|
||||
|
||||
// bool isLocked = pwalletMain->IsLocked();
|
||||
bool isEncrypted = pwalletMain->IsCrypted();
|
||||
|
||||
NanReturnValue(NanNew<Boolean>(isEncrypted));
|
||||
|
|
Loading…
Reference in New Issue