Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasgeihs committed Nov 25, 2024
1 parent 03851a0 commit 13d4f14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/fnd-base/src/endpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,15 @@ export const getTSSEndpoints = (
if (keyType !== KEY_TYPE.SECP256K1) {
throw new Error("Invalid key type for bip340");
}
return dklsPath;
return frostPath;
}
throw new Error("Invalid sig type");
} else if (keyType === KEY_TYPE.SECP256K1) {
return dklsPath;
} else if (keyType === KEY_TYPE.ED25519) {
return frostPath;
}
throw new Error("Invalid key type");
})();

const routeIdentifier = LEGACY_NETWORKS_ROUTE_MAP[legacyNetwork as TORUS_LEGACY_NETWORK_TYPE];
Expand Down

0 comments on commit 13d4f14

Please sign in to comment.