Skip to content

Commit

Permalink
Update max gas wanted
Browse files Browse the repository at this point in the history
  • Loading branch information
toschdev committed Jul 4, 2021
1 parent 6ea63f4 commit a7b50db
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -564,9 +564,6 @@ func writeGasWidget(ctx context.Context, info Info, tMax *text.Text, tAvgBlock *
if(totalTransactions > 0) {
averageGasPerTx = uint64( totalGasWanted / info.transactions.amount)
}


maxGas := genesisInfo.Get("result.genesis.consensus_params.block.max_gas").Int()

tMax.Write(fmt.Sprintf("%v", numberWithComma(info.blocks.maxGasWanted)))
tAvgBlock.Write(fmt.Sprintf("%v", numberWithComma(int64(totalGasPerBlock))))
Expand Down

0 comments on commit a7b50db

Please sign in to comment.