fixed test seed data

This commit is contained in:
Ivan Socolsky 2014-12-04 12:32:06 -03:00
commit ec2c45ac2e
3 changed files with 4 additions and 2 deletions

View file

@ -576,6 +576,8 @@ Identity.prototype.createWallet = function(opts, cb) {
var self = this;
var w = new walletClass(opts);
console.log(_.keys(self.wallets));
console.log(w.getId());
if (_.contains(_.keys(self.wallets), w.getId())) {
return cb('walletAlreadyExists');
}