Skip to content

Commit

Permalink
Fix incorrect halving height in testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
JCThePants committed Jan 18, 2021
1 parent 5fc6fdd commit 8396a18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion libs/class.Coinbase.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ class Coinbase {

_._outputCount = 0;

if (blockTemplate.height < 302438/* First Halving */) {
const firstHalvingHeight = isTestnet ? 12000 : 302438;

if (blockTemplate.height < firstHalvingHeight) {

const founder1RewardSt = 50000000;
const founder2RewardSt = 50000000;
Expand Down

0 comments on commit 8396a18

Please sign in to comment.