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 /src/wallet/wallet2.cpp | |
| parent | d6fd6be5dea3887a041df3b3a5cfcf070cc26cd4 (diff) | |
| download | monzero-core-70c86561af6de764e117774fe207bb6aafd7728c.tar.gz monzero-core-70c86561af6de764e117774fe207bb6aafd7728c.tar.xz monzero-core-70c86561af6de764e117774fe207bb6aafd7728c.zip | |
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 'src/wallet/wallet2.cpp')
0 files changed, 0 insertions, 0 deletions
