From 71864264410417263b676c2bea052b52386a6b59 Mon Sep 17 00:00:00 2001 From: softsimon Date: Wed, 4 Mar 2020 15:30:35 +0700 Subject: [PATCH] Block reward calculation fix. --- 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 f8c41a08e..e2fdd31ec 100644 --- a/frontend/src/app/components/block/block.component.ts +++ b/frontend/src/app/components/block/block.component.ts @@ -62,7 +62,7 @@ export class BlockComponent implements OnInit { this.isLoadingBlock = false; this.setBlockSubsidy(); if (block.reward) { - this.fees = block.reward / 100000000; + this.fees = block.reward / 100000000 - this.blockSubsidy; } this.getBlockTransactions(block.id); },