Fix function name for total kredits issued/earned

This commit is contained in:
2019-04-24 13:45:56 +01:00
parent 542ebaf3f3
commit 359989f235

View File

@@ -40,8 +40,8 @@ module.exports = async function(callback) {
console.log(table.toString());
let totalContributionBalances = await kredits.Contribution.functions.totalCount(true);
console.log(`Total confirmed balance: ${totalContributionBalances}`);
let totalKreditsEarned = await kredits.Contribution.functions.totalKreditsEarned(true);
console.log(`Total confirmed kredits: ${totalKreditsEarned}`);
} catch (err) {
console.log(err);
}