Fix abandonall

This commit is contained in:
Ralph S. (Coolguy3289) 2020-08-14 23:26:56 -04:00
parent 26aaac8009
commit 3e65687166

View file

@ -38,7 +38,7 @@ module.exports = class AbaondonAll extends Command {
})) return;
await this.client.startTyping(message.channel);
const pairs = await this.client.sqlite.getAll();
const count = 0;
let count = 0;
for (let i = 0, len = pairs.length; i < len; i++) {
const pair = pairs[i];
const result = await Util.LBRY.abandonAllClaims(this.client, pair.lbryID);