Skip to content

Commit

Permalink
Revert "fix: disable multisend for ledger temporary until tonapi fix …
Browse files Browse the repository at this point in the history
…send batch"

This reverts commit b12990a.
  • Loading branch information
KuznetsovNikita committed Jan 7, 2025
1 parent 93de923 commit 0018e5e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@ export class LedgerMessageSender implements ISender {
tx: T
): Promise<T extends LedgerTransaction ? Cell : Cell[]> {
if (Array.isArray(tx)) {
if (tx.length > 1) {
throw new Error('Only one transaction is supported by Ledger'); // TODO disable multisend for ledger temporary until tonapi fix send batch
}
return this.signer(tx) as Promise<T extends LedgerTransaction ? Cell : Cell[]>;
} else {
const res = await this.signer([tx]);
Expand Down
2 changes: 0 additions & 2 deletions packages/core/src/service/tonConnect/connectService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -388,8 +388,6 @@ export const tonDisconnectRequest = async (options: { storage: IStorage; webView

const getMaxMessages = (account: Account) => {
if (account.type === 'ledger') {
return 1; // TODO disable multisend for ledger temporary until tonapi fix send batch

return 4;
}

Expand Down

0 comments on commit 0018e5e

Please sign in to comment.