From 4c9a7aa1fc3e4e58eef4362d8d217d033a661bdb Mon Sep 17 00:00:00 2001 From: fboucquez Date: Wed, 10 Nov 2021 13:08:54 -0300 Subject: [PATCH] fix: added catapult 1.0.3.0 new status codes (#674) Co-authored-by: Fernando --- CHANGELOG.md | 1 + catapult-sdk/src/model/status.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 010e4e27..184f0751 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/e ### Added - Added mosaic supply revocation transaction support. +- Added new catapult 1.0.3.0 new status codes. ## [v2.3.8] - 1-Nov-2021 diff --git a/catapult-sdk/src/model/status.js b/catapult-sdk/src/model/status.js index c0d9f899..4fdc0ae6 100644 --- a/catapult-sdk/src/model/status.js +++ b/catapult-sdk/src/model/status.js @@ -43,11 +43,13 @@ const toStringInternal = code => { case 0x8043000E: return 'Failure_Core_Address_Collision'; case 0x8043000F: return 'Failure_Core_Importance_Block_Mismatch'; case 0x80430010: return 'Failure_Core_Unexpected_Block_Type'; + case 0x80430011: return 'Failure_Core_Block_Explicit_Transactions_Hash_Mismatch'; case 0x80430065: return 'Failure_Core_Invalid_Link_Action'; case 0x80430066: return 'Failure_Core_Link_Already_Exists'; case 0x80430067: return 'Failure_Core_Inconsistent_Unlink_Data'; case 0x80430068: return 'Failure_Core_Invalid_Link_Range'; case 0x80430069: return 'Failure_Core_Too_Many_Links'; + case 0x8043006A: return 'Failure_Core_Link_Start_Epoch_Invalid'; case 0x81490001: return 'Failure_Hash_Already_Exists'; case 0x80530001: return 'Failure_Signature_Not_Verifiable'; case 0x804C0001: return 'Failure_AccountLink_Link_Already_Exists';