diff options
| author | HarryWu <[email protected]> | 2014-11-19 14:01:18 +0800 |
|---|---|---|
| committer | HarryWu <[email protected]> | 2014-11-19 14:01:18 +0800 |
| commit | 60d1ecd378d8aeb366da566d9c791399d77ffafc (patch) | |
| tree | 6779fdb75989f465915b4b8409e287b6c1e8a359 /src | |
| parent | Merge pull request #5280 (diff) | |
| download | discoin-60d1ecd378d8aeb366da566d9c791399d77ffafc.tar.xz discoin-60d1ecd378d8aeb366da566d9c791399d77ffafc.zip | |
change nSubsidy's type from int64_t to CAmount
Diffstat (limited to 'src')
| -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 2bff781bf..512df775d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1180,7 +1180,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. |