add warning for old wallets
This commit is contained in:
parent
dd0dc9c6ad
commit
29bbfa184c
9 changed files with 8 additions and 48 deletions
|
|
@ -174,8 +174,8 @@ Wallet.key = function(str) {
|
|||
|
||||
|
||||
Wallet.any = function(storage, cb) {
|
||||
storage.getFirst(Wallet.key(''), function(err, val) {
|
||||
return cb(val ? true : false);
|
||||
storage.getFirst(Wallet.key(''), function(err, v, k) {
|
||||
return cb(k ? true : false);
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue