Skip to content

Commit

Permalink
Update api.go
Browse files Browse the repository at this point in the history
  • Loading branch information
omerfirmak authored Feb 5, 2025
1 parent 4ae7f28 commit c99d7cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ type DiskAndHeaderRoot struct {
HeaderRoot common.Hash `json:"headerRoot"`
}

// CalculateRowConsumptionByBlockNumber
// DiskRoot
func (api *ScrollAPI) DiskRoot(ctx context.Context, blockNrOrHash *rpc.BlockNumberOrHash) (DiskAndHeaderRoot, error) {
block, err := api.eth.APIBackend.BlockByNumberOrHash(ctx, *blockNrOrHash)
if err != nil {
Expand Down

0 comments on commit c99d7cb

Please sign in to comment.