Skip to content

Commit 60d1ecd

Browse files
committed
change nSubsidy's type from int64_t to CAmount
1 parent fd3777b commit 60d1ecd

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
@@ -1180,7 +1180,7 @@ bool ReadBlockFromDisk(CBlock& block, const CBlockIndex* pindex)
11801180

11811181
CAmount GetBlockValue(int nHeight, const CAmount& nFees)
11821182
{
1183-
int64_t nSubsidy = 50 * COIN;
1183+
CAmount nSubsidy = 50 * COIN;
11841184
int halvings = nHeight / Params().SubsidyHalvingInterval();
11851185

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

0 commit comments

Comments
 (0)