Fix function name for total kredits issued/earned
This commit is contained in:
parent
542ebaf3f3
commit
359989f235
@ -40,8 +40,8 @@ module.exports = async function(callback) {
|
|||||||
|
|
||||||
console.log(table.toString());
|
console.log(table.toString());
|
||||||
|
|
||||||
let totalContributionBalances = await kredits.Contribution.functions.totalCount(true);
|
let totalKreditsEarned = await kredits.Contribution.functions.totalKreditsEarned(true);
|
||||||
console.log(`Total confirmed balance: ${totalContributionBalances}`);
|
console.log(`Total confirmed kredits: ${totalKreditsEarned}`);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user