Alert for transaction support in navbar (red label).

Fixes Sign and Reject Transactions.

Known bugs:
	* After 5 continuous transactions, connection is lost with peers
	* 1-of-1 wallet does not refresh automatically
This commit is contained in:
Gustavo Cortez 2014-05-13 05:02:21 -03:00
commit 8a03225cd2
4 changed files with 18 additions and 9 deletions

View file

@ -346,7 +346,7 @@ Wallet.prototype.reject = function(ntxid) {
txp.rejectedBy[myId] = Date.now();
this.sendTxProposals();
this.store();
this.emit('refresh');
this.emit('txProposalsUpdated');
};
@ -367,7 +367,7 @@ Wallet.prototype.sign = function(ntxid) {
txp.signedBy[myId] = Date.now();
this.sendTxProposals();
this.store();
this.emit('refresh');
this.emit('txProposalsUpdated');
return true;
}
return false;