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