Merge pull request #209 from 67P/bugfix/confirmed_at

Fix confirmations being 1 block too late
This commit is contained in:
Basti 2021-01-14 15:43:07 +01:00 committed by GitHub
commit 7418d33e63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -164,7 +164,7 @@ contract Contribution is AragonApp {
if (contributionId < 10) {
c.confirmedAtBlock = block.number;
} else {
c.confirmedAtBlock = block.number + blocksToWait;
c.confirmedAtBlock = block.number + 1 + blocksToWait;
}
contributionsCount++;