From 7a1a903599e85210b4071d6b30a327932ae1a643 Mon Sep 17 00:00:00 2001 From: Antoni Spaanderman <56turtle56@gmail.com> Date: Tue, 8 Mar 2022 20:40:44 +0100 Subject: [PATCH] oops --- frontend/src/app/components/block/block.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/block/block.component.ts b/frontend/src/app/components/block/block.component.ts index 8d7e89896..512b6b411 100644 --- a/frontend/src/app/components/block/block.component.ts +++ b/frontend/src/app/components/block/block.component.ts @@ -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; }