13 lines
441 B
TypeScript
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;
|
|
}
|
|
}
|