Fix read from backup address.

This commit is contained in:
Gustavo Cortez 2014-04-18 11:16:10 -03:00
commit 5cd9f7a93b
2 changed files with 3 additions and 4 deletions

View file

@ -222,6 +222,7 @@ Wallet.prototype.sendPublicKeyRing = function(recipients) {
Wallet.prototype.generateAddress = function() {
var addr = this.publicKeyRing.generateAddress();
this.sendPublicKeyRing();
this.store();
return addr;
};