Skip to content

[Backend] Remove unused sorobanWithdraw import in stream.controller.ts #537

Description

@ogazboiz

Telegram: https://t.me/+DOylgFv1jyJlNzM0

Why this matters

backend/src/controllers/stream.controller.ts imports withdraw as sorobanWithdraw from sorobanService (top of file) but never uses it — withdrawal has its own handler in routes/v1/streams/withdraw.ts. The dangling import is dead code and can trip no-unused-vars lint.

Acceptance criteria

  • Remove withdraw as sorobanWithdraw from the import block in stream.controller.ts
  • npm run build passes with no unused-import warning

Files to touch

  • backend/src/controllers/stream.controller.ts

Out of scope

  • The real withdraw handler in routes/v1/streams/withdraw.ts.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbackendBackend related tasksgood first issueGood for newcomersrefactorRefactoring existing code

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions