Fixed generateAddress in front-end. Fixed angular front-end when connection rejected

This commit is contained in:
Gustavo Cortez 2014-04-15 14:58:02 -03:00
commit 86e47b8fcd
2 changed files with 7 additions and 9 deletions

View file

@ -23,13 +23,12 @@ Wallet.prototype._startInterface = function(config) {
this.blockchain = new Blockchain(config.blockchain);
this.networkName = config.networkName;
this.requiredCopayers = config.requiredCopayers;
this.totalCopayers = config.totalCopayers;
this.requiredCopayers = config.wallet.requiredCopayers;
this.totalCopayers = config.wallet.totalCopayers;
};
Wallet.prototype.create = function(opts) {
this.id = opts.id || Wallet.getRandomId();
console.log('### CREATING NEW WALLET.' + (opts.id ? ' USING ID: ' + opts.id : ' NEW ID'));