Introduce budget, reimbursements for expenses #195

Merged
raucao merged 57 commits from feature/expenses into master 2021-06-03 14:23:45 +00:00
Showing only changes of commit 4ab5c3c372 - Show all commits
+6
View File
2
@@ -590,6 +590,12 @@ export default Service.extend({
confirmedAt: this.currentBlock + 40320
});
this.reimbursements.pushObject(reimbursement);
// Listen to tx mining/execution status
data.wait()
.then(d => console.debug('[kredits] tx successful', d))
.catch(e => console.log('[kredits] tx error', e));
return reimbursement;
});
},