Refactored TxProposal#getSent & tests
This commit is contained in:
parent
7053c322c9
commit
807e7754a3
2 changed files with 40 additions and 6 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue