From 444e0838ef723db00974b2f57f2a205b62ac3668 Mon Sep 17 00:00:00 2001 From: buck Date: Wed, 3 Jan 2024 16:15:38 -0600 Subject: [PATCH] fix(test-suite): key origins sorted by base58 xpub --- src/tests/registration.jsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/tests/registration.jsx b/src/tests/registration.jsx index 9dc2b093..4a46c2f4 100644 --- a/src/tests/registration.jsx +++ b/src/tests/registration.jsx @@ -19,6 +19,9 @@ class RegisterWalletPolicyTest extends Test { } description() { + const keyOrigins = this.params.braidDetails.extendedPublicKeys.sort( + (a, b) => a.base58String.localeCompare(b.base58String) + ); return (

@@ -47,7 +50,7 @@ class RegisterWalletPolicyTest extends Test { Registering Quorum - {this.params.braidDetails.extendedPublicKeys.map((key, index) => ( + {keyOrigins.map((key, index) => (