Skip to content

[LOW] Unused functions signWithPlatformKey and generateChallengeToken in crypto.ts #38

Description

@DeFiVC

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.

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial CampaignCampaign: Official CampaignbugSomething isn't workinglow

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions