Hotfix support

This commit is contained in:
Snazzah 2020-08-12 23:23:11 -05:00
parent 0da58d190c
commit 6a8df461fc
No known key found for this signature in database
GPG key ID: 5E71D54F3D86282E

View file

@ -37,7 +37,7 @@ module.exports = class Support extends Command {
// Create support // Create support
const response = await this.client.lbry.createSupport({ const response = await this.client.lbry.createSupport({
accountID: account, claimID: givenClaim, amount: givenAmount }); accountID: account.accountID, claimID: givenClaim, amount: givenAmount });
const transaction = await response.json(); const transaction = await response.json();
if (await this.handleResponse(message, response, transaction)) return; if (await this.handleResponse(message, response, transaction)) return;
const txid = transaction.result.txid; const txid = transaction.result.txid;