Make syncMultiTransfer work of batches of any size
@@ -151,9 +151,7 @@ export class Wallet {
);
}
- if (transfers.length < 2) {
- throw new Error("Transactions batch must contain at least two transactions");
- }
+ if (transfers.length == 0) return [];
await this.setRequiredAccountIdFromServer("Transfer funds");
