Skip to content

Commit 43e27d0

Browse files
committed
docs(sdk-coin-hbar): correct validation comment for token enablement
Ticket: WP-5782
1 parent 35163b5 commit 43e27d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export class Hbar extends BaseCoin {
301301
}
302302
}
303303

304-
// Strict validation: allow 0 outputs or exactly 1 output with amount 0
304+
// Strict validation: allow exactly 1 output with amount 0
305305
private validateTxStructureStrict(ex: TransactionExplanation): void {
306306
if (!ex.outputs || ex.outputs.length === 0) {
307307
throw new Error('Invalid token enablement transaction: missing required token association output');

0 commit comments

Comments
 (0)