diff --git a/app/services/kredits.js b/app/services/kredits.js index 00ceda8..d577e73 100644 --- a/app/services/kredits.js +++ b/app/services/kredits.js @@ -313,7 +313,7 @@ export default Service.extend({ attributes.contributor = this.contributors.findBy('id', attributes.contributorId); const contribution = Contribution.create(attributes); contribution.set('pendingTx', data); - contribution.set('confirmedAtBlock', data.blockNumber + 40320); + contribution.set('confirmedAtBlock', this.currentBlock + 40320); this.contributions.pushObject(contribution); return contribution; });