Skip to content

Commit f25e2b5

Browse files
fix(sdk-coin-sol): removed outputs as empty check for token enab blind sign
TICKET: WP-5744
1 parent cb2ee5a commit f25e2b5

File tree

1 file changed

+0
-6
lines changed
  • modules/sdk-coin-sol/src

1 file changed

+0
-6
lines changed

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

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -315,11 +315,6 @@ export class Sol extends BaseCoin {
315315
}
316316
}
317317

318-
verifyNoOutputs(explanation: TransactionExplanation): void {
319-
if (!explanation.outputs) return;
320-
if (explanation.outputs.length > 0) throw new Error('Invalid token enablement tx: no outputs allow');
321-
}
322-
323318
async verifyTransaction(params: SolVerifyTransactionOptions): Promise<boolean> {
324319
// asset name to transfer amount map
325320
const totalAmount: Record<string, BigNumber> = {};
@@ -355,7 +350,6 @@ export class Sol extends BaseCoin {
355350

356351
this.verifyTokenName(tokenEnablementsPrebuild, enableTokensConfig);
357352
await this.verifyTokenAddress(tokenEnablementsPrebuild, enableTokensConfig);
358-
this.verifyNoOutputs(explainedTx);
359353
}
360354

361355
// users do not input recipients for consolidation requests as they are generated by the server

0 commit comments

Comments
 (0)