Refactored TxProposal#getSent & tests

This commit is contained in:
Ivan Socolsky 2014-10-07 12:17:27 -03:00
commit 807e7754a3
2 changed files with 40 additions and 6 deletions

View file

@ -255,8 +255,8 @@ TxProposal.prototype.setSent = function(sentTxid) {
this.sentTs = Date.now();
};
TxProposal.prototype.getSent = function(sentTxid) {
return !!this.sentTxid;
TxProposal.prototype.getSent = function() {
return this.sentTs;
}
TxProposal.prototype._allSignatures = function() {