mirror of
https://github.com/LBRYFoundation/curate.git
synced 2025-08-23 17:37:25 +00:00
Log txid when funding new accounts
This commit is contained in:
parent
c3f99a1897
commit
1045741d63
1 changed files with 3 additions and 1 deletions
|
@ -228,7 +228,9 @@ Util.LBRY = {
|
|||
const account = await client.lbry.createAccount(discordID).then(r => r.json());
|
||||
await client.sqlite.pair(discordID, account.result.id);
|
||||
console.info('Created pair', discordID, account.result.id);
|
||||
await client.lbry.fundAccount({ to: account.result.id, amount: config.startingBalance });
|
||||
const response = await client.lbry.fundAccount({ to: account.result.id, amount: config.startingBalance });
|
||||
const transaction = await response.json();
|
||||
console.info('Funded account', account.result.id, transaction.result.txid);
|
||||
return account;
|
||||
},
|
||||
ensureDecimal(str) {
|
||||
|
|
Loading…
Add table
Reference in a new issue