Description
In src/utils/crypto.ts:9,33, signWithPlatformKey() and generateChallengeToken() are never called anywhere in the codebase. The signing logic is duplicated directly in src/stellar/signatures.ts.
Files
src/utils/crypto.ts:9 (signWithPlatformKey)
src/utils/crypto.ts:33 (generateChallengeToken)
Suggested Fix
Remove the unused functions or consolidate the signing logic into a single location.
Description
In
src/utils/crypto.ts:9,33,signWithPlatformKey()andgenerateChallengeToken()are never called anywhere in the codebase. The signing logic is duplicated directly insrc/stellar/signatures.ts.Files
src/utils/crypto.ts:9(signWithPlatformKey)src/utils/crypto.ts:33(generateChallengeToken)Suggested Fix
Remove the unused functions or consolidate the signing logic into a single location.