Merge pull request #51 from cmgustavo/bug/01-generateaddress

Fixed generateAddress in front-end...
This commit is contained in:
Mario Colque 2014-04-15 15:05:34 -03:00
commit 072e55665d
2 changed files with 7 additions and 9 deletions

View file

@ -29,13 +29,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();
this.log('### CREATING NEW WALLET.' + (opts.id ? ' USING ID: ' + opts.id : ' NEW ID'));