mirror of
https://github.com/LBRYFoundation/curate.git
synced 2025-08-23 17:37:25 +00:00
Fix logging of fund command
This commit is contained in:
parent
1c348efb32
commit
a3404b55b1
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ module.exports = class FundAccount extends Command {
|
|||
})) return;
|
||||
const response = await this.client.lbry.fundAccount({to: account.accountID, amount: givenAmount});
|
||||
const transaction = await response.json();
|
||||
console.info('Funded account', account.result.id, transaction.result.txid);
|
||||
console.info('Funded account', account.accountID, transaction.result.txid);
|
||||
const txid = transaction.result.txid;
|
||||
return message.channel.createMessage(`Successfully funded account! https://explorer.lbry.com/tx/${txid}`);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue