Skip to content

soroban.service.ts declares SorobanService twice in one file #184

Description

@martinzhames

Category: bug

Problem

src/blockchain-wallet/soroban.service.ts line 1 does export { SOROBAN_RPC_CLIENT, SorobanService } from '../soroban/soroban.service'; and then separately declares export class SorobanService { ... } later in the same file (line 63) — two exports named SorobanService in one module.

Impact

This is a TypeScript duplicate-identifier situation that either fails to compile or silently shadows one implementation with the other depending on module resolution — directly explains the mismatch between what PaymentsService expects from SorobanService and what actually exists (see related issue).

Suggested fix

Remove the re-export line if this file is meant to define its own distinct SorobanService, or delete the local class if the re-export from ../soroban/soroban.service is the intended implementation.

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 programbugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions