diff options
| author | Wladimir J. van der Laan <[email protected]> | 2014-12-05 11:11:18 +0100 |
|---|---|---|
| committer | Wladimir J. van der Laan <[email protected]> | 2014-12-05 11:11:24 +0100 |
| commit | c78a18087f76ae53ac421261f9704f5f666d484e (patch) | |
| tree | cd81b544ac8adb23ab49fd9b488e4980477ca403 /src/main.cpp | |
| parent | Merge pull request #5329 (diff) | |
| parent | change nSubsidy's type from int64_t to CAmount (diff) | |
| download | discoin-c78a18087f76ae53ac421261f9704f5f666d484e.tar.xz discoin-c78a18087f76ae53ac421261f9704f5f666d484e.zip | |
Merge pull request #5308
60d1ecd change nSubsidy's type from int64_t to CAmount (HarryWu)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index 784e2569d..60e1db664 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1188,7 +1188,7 @@ bool ReadBlockFromDisk(CBlock& block, const CBlockIndex* pindex) CAmount GetBlockValue(int nHeight, const CAmount& nFees) { - int64_t nSubsidy = 50 * COIN; + CAmount nSubsidy = 50 * COIN; int halvings = nHeight / Params().SubsidyHalvingInterval(); // Force block reward to zero when right shift is undefined. |