Block reward calculation fix.
This commit is contained in:
		
							parent
							
								
									73e24195da
								
							
						
					
					
						commit
						7186426441
					
				@ -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);
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user