[FIX] remove check for tej class of errors.

This commit is contained in:
Ivan Tivonenko
2016-04-05 23:50:41 +03:00
parent d2cbd70da8
commit bae190b282

View File

@@ -1,5 +1,5 @@
/* @flow */
'use strict';
'use strict'; // eslint-disable-line
const _ = require('lodash');
const utils = require('./utils');
const {validate} = utils.common;
@@ -12,7 +12,7 @@ function isImmediateRejection(engineResult: string): boolean {
// if the required fee changes (this does not occur at the time of
// this writing, but it could change in the future)
// all other error classes can potentially result in transcation validation
return _.startsWith(engineResult, 'tem') || _.startsWith(engineResult, 'tej');
return _.startsWith(engineResult, 'tem');
}
function formatSubmitResponse(response) {