/**
* Collects the funds from a specified range of accounts in a wallet and sends
-* them all to a single recipient address.
+* them all to a single recipient address. Hardware wallets are unsupported.
*
* @param {Rpc|string|URL} rpc - RPC node information required to refresh accounts, calculate PoW, and process blocks
* @param {Blake2bWallet|Bip44Wallet|LedgerWallet} wallet - Wallet from which to sweep funds
const blockRequest: Promise<void> = new Promise(async (resolve) => {
try {
await block.pow()
- await block.sign(account.index)
+ await block.sign()
const hash = await block.process(rpc)
results.push({ status: 'success', address: block.account.address, message: hash })
} catch (err: any) {