Merge pull request #77 from matiu/bug/fix-uxrefresh
fix uxrefresh with new #setup - awesome!!
This commit is contained in:
commit
73d5266a89
8 changed files with 46 additions and 46 deletions
|
|
@ -120,6 +120,7 @@ Wallet.prototype._handleNetworkChange = function(newPeer) {
|
|||
this.sendWalletId(newPeer);
|
||||
this.sendPublicKeyRing(newPeer);
|
||||
this.sendTxProposals(newPeer);
|
||||
this.emit('refresh');
|
||||
};
|
||||
|
||||
Wallet.prototype.netStart = function() {
|
||||
|
|
|
|||
|
|
@ -148,7 +148,10 @@ WalletFactory.prototype.openRemote = function(peedId) {
|
|||
opts.storage = this.storage;
|
||||
opts.network = this.network;
|
||||
opts.blockchain = this.blockchain;
|
||||
opts.spendUnconfirmed = opts.spendUnconfirmed || this.walletDefaults.spendUnconfirmed;
|
||||
|
||||
opts.spendUnconfirmed = typeof opts.spendUnconfirmed === undefined
|
||||
?this.walletDefaults.spendUnconfirmed : opts.spendUnconfirmed;
|
||||
|
||||
opts.requiredCopayers = requiredCopayers;
|
||||
opts.totalCopayers = totalCopayers;
|
||||
var w = new Wallet(opts);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue