oops
This commit is contained in:
		
							parent
							
								
									71402f21c6
								
							
						
					
					
						commit
						7a1a903599
					
				@ -217,7 +217,7 @@ export class BlockComponent implements OnInit, OnDestroy {
 | 
				
			|||||||
      this.blockSubsidy = 0;
 | 
					      this.blockSubsidy = 0;
 | 
				
			||||||
      return;
 | 
					      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;
 | 
					    this.blockSubsidy = 50 * 2 ** -halvings;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user