Skip to content

Commit 91ec010

Browse files
authored
Merge pull request #7741 from BitGo/WIN-8211
feat(statics): return instead of error for tempo
2 parents e74b30d + 77aa79c commit 91ec010

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

modules/sdk-coin-tempo/src/tempo.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ export class Tempo extends BaseCoin {
106106
*/
107107
async verifyTransaction(params: VerifyTransactionOptions): Promise<boolean> {
108108
// TODO: Implement transaction verification
109-
throw new Error('Method not implemented.');
109+
return false;
110110
}
111111

112112
/**
@@ -115,7 +115,7 @@ export class Tempo extends BaseCoin {
115115
*/
116116
async isWalletAddress(params: VerifyAddressOptions): Promise<boolean> {
117117
// TODO: Implement address verification
118-
throw new Error('Method not implemented.');
118+
return false;
119119
}
120120

121121
/**
@@ -134,7 +134,7 @@ export class Tempo extends BaseCoin {
134134
*/
135135
async parseTransaction(params: ParseTransactionOptions): Promise<ParsedTransaction> {
136136
// TODO: Implement transaction parsing
137-
throw new Error('Method not implemented.');
137+
return {} as ParsedTransaction;
138138
}
139139

140140
/**
@@ -143,7 +143,7 @@ export class Tempo extends BaseCoin {
143143
*/
144144
async explainTransaction(params: Record<string, unknown>): Promise<TransactionExplanation> {
145145
// TODO: Implement transaction explanation
146-
throw new Error('Method not implemented.');
146+
return {} as TransactionExplanation;
147147
}
148148

149149
/**
@@ -152,6 +152,6 @@ export class Tempo extends BaseCoin {
152152
*/
153153
async signTransaction(params: SignTransactionOptions): Promise<SignedTransaction> {
154154
// TODO: Implement transaction signing
155-
throw new Error('Method not implemented.');
155+
return {} as SignedTransaction;
156156
}
157157
}

0 commit comments

Comments
 (0)