Files
xo-cli/tests/cli/mocks/electrum-service.ts
2026-04-20 12:26:35 +00:00

13 lines
441 B
TypeScript

/**
* Mock Electrum service for testing.
* NOTE & TODO: Do we even need this in the actual app? I forget why we had this, but it seems like its just overly complicating things
* And we end up in stupid situations where we are creating a mock for a single function class.
*/
export class MockElectrumService {
constructor() {}
async hasSeenTransaction(transactionHash: string): Promise<boolean> {
return true;
}
}