Skip to content

Commit c78a180

Browse files
committed
Merge pull request #5308
60d1ecd change nSubsidy's type from int64_t to CAmount (HarryWu)
2 parents c932c47 + 60d1ecd commit c78a180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1188,7 +1188,7 @@ bool ReadBlockFromDisk(CBlock& block, const CBlockIndex* pindex)
11881188

11891189
CAmount GetBlockValue(int nHeight, const CAmount& nFees)
11901190
{
1191-
int64_t nSubsidy = 50 * COIN;
1191+
CAmount nSubsidy = 50 * COIN;
11921192
int halvings = nHeight / Params().SubsidyHalvingInterval();
11931193

11941194
// Force block reward to zero when right shift is undefined.

0 commit comments

Comments
 (0)