diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-17 14:43:16 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2016-04-17 14:46:17 +0100 |
commit | 70c86561af6de764e117774fe207bb6aafd7728c (patch) | |
tree | 3cb55fe17282f7b0d64a83ed99ac0551430dfe25 /tests | |
parent | blockchain: update cumulative block limit when popping a block (diff) | |
download | monero-70c86561af6de764e117774fe207bb6aafd7728c.tar.xz |
blockchain: add missing overflow check for already generated coins
When reaching the tail emission phase, the amount of coins will
eventually go over MONEY_SUPPLY, overflowing 64 bits. There was
a check added to blockchain_storage, but this was not ported to
the blockchain DB version.
Reported by smooth.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions