We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d824dc commit 11e91beCopy full SHA for 11e91be
src/torus.ts
@@ -272,6 +272,10 @@ class Torus {
272
const localKeyType = keyType ?? this.keyType;
273
const localEc = getKeyCurve(localKeyType);
274
275
+ if (localKeyType === KEY_TYPE.ED25519 && LEGACY_NETWORKS_ROUTE_MAP[this.network as TORUS_LEGACY_NETWORK_TYPE]) {
276
+ throw new Error(`keyType: ${keyType} is not supported by ${this.network} network`);
277
+ }
278
+
279
const keyAssignResult = await GetPubKeyOrKeyAssign({
280
endpoints,
281
network: this.network,
0 commit comments