From 54943ec2801a3682add02108308974dff8b64791 Mon Sep 17 00:00:00 2001 From: Ivan Shumkov Date: Mon, 24 Apr 2023 23:46:37 +0800 Subject: [PATCH] fix(test-suite): expects identities for invalid mns --- .../test/functional/platform/Identity.spec.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/platform-test-suite/test/functional/platform/Identity.spec.js b/packages/platform-test-suite/test/functional/platform/Identity.spec.js index 2044aa48856..96382057338 100644 --- a/packages/platform-test-suite/test/functional/platform/Identity.spec.js +++ b/packages/platform-test-suite/test/functional/platform/Identity.spec.js @@ -595,6 +595,11 @@ describe('Platform', () => { ); for (const masternodeEntry of mnList) { + if (!masternodeEntry.isValid) { + // eslint-disable-next-line no-continue + continue; + } + const masternodeIdentityId = Identifier.from( Buffer.from(masternodeEntry.proRegTxHash, 'hex'), );