Block reward calculation fix.

This commit is contained in:
softsimon 2020-03-04 15:30:35 +07:00
parent 73e24195da
commit 7186426441

View File

@ -62,7 +62,7 @@ export class BlockComponent implements OnInit {
this.isLoadingBlock = false; this.isLoadingBlock = false;
this.setBlockSubsidy(); this.setBlockSubsidy();
if (block.reward) { if (block.reward) {
this.fees = block.reward / 100000000; this.fees = block.reward / 100000000 - this.blockSubsidy;
} }
this.getBlockTransactions(block.id); this.getBlockTransactions(block.id);
}, },