diff --git a/packages/core/src/service/ton-blockchain/sender/ledger-message-sender.ts b/packages/core/src/service/ton-blockchain/sender/ledger-message-sender.ts index a4bd824e..aa82891b 100644 --- a/packages/core/src/service/ton-blockchain/sender/ledger-message-sender.ts +++ b/packages/core/src/service/ton-blockchain/sender/ledger-message-sender.ts @@ -46,6 +46,9 @@ export class LedgerMessageSender implements ISender { tx: T ): Promise { 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; } else { const res = await this.signer([tx]); diff --git a/packages/core/src/service/tonConnect/connectService.ts b/packages/core/src/service/tonConnect/connectService.ts index 761e91a6..67dd6754 100644 --- a/packages/core/src/service/tonConnect/connectService.ts +++ b/packages/core/src/service/tonConnect/connectService.ts @@ -388,6 +388,8 @@ 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; }