Use contributorId instead or address for reimbursements

This commit is contained in:
2020-06-12 00:29:59 +02:00
parent 9b4a95f375
commit 2c567fa71a
5 changed files with 16 additions and 13 deletions

View File

@@ -15,7 +15,7 @@ module.exports = async function(callback) {
console.log(`Using Reimbursement at: ${kredits.Reimbursement.contract.address}`);
const table = new Table({
head: ['ID', 'Amount', 'Token', 'Recipent', 'Confirmed?', 'Vetoed?', 'IPFS', 'Expenses']
head: ['ID', 'Amount', 'Token', 'ContributorId', 'Confirmed?', 'Vetoed?', 'IPFS', 'Expenses']
})
try {
@@ -31,7 +31,7 @@ module.exports = async function(callback) {
r.id.toString(),
r.amount.toString(),
`${r.token}`,
`${r.recipient}`,
`${r.contributorId}`,
`${confirmed}`,
`${r.vetoed}`,
`${r.ipfsHash}`,