Merge tepPARTIAL into tecCLAIMED.

This commit is contained in:
Arthur Britto
2013-01-03 13:04:07 -08:00
committed by Stefan Thomas
parent e5c6acde7d
commit d38fd1847d

View File

@@ -1162,7 +1162,7 @@ Remote.prototype.transaction = function () {
// |/ // |/
// |- 'tesSUCCESS' - Transaction in ledger as expected. // |- 'tesSUCCESS' - Transaction in ledger as expected.
// |- 'ter...' - Transaction failed. // |- 'ter...' - Transaction failed.
// \- 'tep...' - Transaction partially succeeded. // \- 'tec...' - Transaction claimed fee only.
// //
// Notes: // Notes:
// - All transactions including those with local and malformed errors may be // - All transactions including those with local and malformed errors may be
@@ -1225,7 +1225,7 @@ Transaction.prototype.consts = {
'tefFAILURE' : -199, 'tefFAILURE' : -199,
'terRETRY' : -99, 'terRETRY' : -99,
'tesSUCCESS' : 0, 'tesSUCCESS' : 0,
'tepPARTIAL' : 100, 'tecCLAIMED' : 100,
}; };
Transaction.prototype.isTelLocal = function (ter) { Transaction.prototype.isTelLocal = function (ter) {
@@ -1248,8 +1248,8 @@ Transaction.prototype.isTepSuccess = function (ter) {
return ter >= this.consts.tesSUCCESS; return ter >= this.consts.tesSUCCESS;
}; };
Transaction.prototype.isTepPartial = function (ter) { Transaction.prototype.isTecClaimed = function (ter) {
return ter >= this.consts.tepPATH_PARTIAL; return ter >= this.consts.tecCLAIMED;
}; };
Transaction.prototype.isRejected = function (ter) { Transaction.prototype.isRejected = function (ter) {