This commit is contained in:
Antoni Spaanderman committed 2022-03-08 20:40:44 +01:00
1 parent cd14a91523
commit 933f34ef73
1 file changed
+1 -1
@@ -217,7 +217,7 @@ export class BlockComponent implements OnInit, OnDestroy {
this.blockSubsidy = 0;
return;
}
const halvings = Math.floor(this.block.height / (this.network === 'regtest' ? 150 : 210000));
const halvings = Math.floor(this.block.height / 210000);
this.blockSubsidy = 50 * 2 ** -halvings;
}