Fixing Identity Network Tests

This commit is contained in:
Esteban Ordano 2014-10-26 21:06:43 -03:00
commit 291975bb24
3 changed files with 35 additions and 26 deletions

View file

@ -607,8 +607,9 @@ Identity.prototype.joinWallet = function(opts, cb) {
if (w) {
w.sendWalletReady(decodedSecret.pubKey);
} else {
if (!err) err = 'walletFull';
log.info(err);
if (!err) {
err = 'walletFull';
}
}
return cb(err, w);
});