Trying to fix bip72
This commit is contained in:
parent
6d72d00b99
commit
92737bc49c
8 changed files with 50 additions and 43 deletions
|
|
@ -629,7 +629,7 @@ Wallet.prototype._onAddressBook = function(senderId, data) {
|
|||
var self = this,
|
||||
hasChange;
|
||||
_.each(data.addressBook, function(value, key) {
|
||||
if (!self.addressBook[key] && Address.validate(key)) {
|
||||
if (key && !self.addressBook[key] && Address.validate(key)) {
|
||||
|
||||
self.addressBook[key] = _.pick(value, ['createdTs', 'label']);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue