From 91dd6877aa7179b9e739816a2ee239608f542a6f Mon Sep 17 00:00:00 2001 From: wltsmrz Date: Tue, 8 Sep 2015 00:24:11 -0700 Subject: [PATCH] Add tecOVERSIZE transaction result --- src/api/common/schema-validator.js | 3 ++- src/core/binformat.js | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/api/common/schema-validator.js b/src/api/common/schema-validator.js index d96fc4c6..de884c9f 100644 --- a/src/api/common/schema-validator.js +++ b/src/api/common/schema-validator.js @@ -77,7 +77,8 @@ function loadSchemas() { require('./schemas/trustlines-options.json'), require('./schemas/tx.json'), require('./schemas/uint32.json'), - require('./schemas/value.json') + require('./schemas/value.json'), + require('./schemas/prepare.json') ]; const titles = _.map(schemas, schema => schema.title); const duplicates = _.keys(_.pick(_.countBy(titles), count => count > 1)); diff --git a/src/core/binformat.js b/src/core/binformat.js index e6001035..9211855c 100644 --- a/src/core/binformat.js +++ b/src/core/binformat.js @@ -443,7 +443,7 @@ exports.ter = { tecNO_LINE_REDUNDANT : 127, tecPATH_DRY : 128, tecUNFUNDED : 129, // Deprecated, old ambiguous unfunded. - tecMASTER_DISABLED : 130, + tecNO_ALTERNATIVE_KEY : 130, tecNO_REGULAR_KEY : 131, tecOWNERS : 132, tecNO_ISSUER : 133, @@ -457,5 +457,6 @@ exports.ter = { tecINSUFFICIENT_RESERVE : 141, tecNEED_MASTER_KEY : 142, tecDST_TAG_NEEDED : 143, - tecINTERNAL : 144 + tecINTERNAL : 144, + tecOVERSIZE : 145 };