Skip to content

Commit

Permalink
Don't set miner
Browse files Browse the repository at this point in the history
  • Loading branch information
shohamc1 committed Feb 13, 2025
1 parent c68a930 commit f959a4e
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions turbo/jsonrpc/eth_block.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ import (
"github.com/erigontech/erigon/core/state"
"github.com/erigontech/erigon/core/types"
"github.com/erigontech/erigon/core/vm"
"github.com/erigontech/erigon/polygon/bor/borcfg"
bortypes "github.com/erigontech/erigon/polygon/bor/types"
"github.com/erigontech/erigon/rpc"
"github.com/erigontech/erigon/turbo/adapter/ethapi"
Expand Down Expand Up @@ -260,11 +259,6 @@ func (api *APIImpl) GetBlockByNumber(ctx context.Context, number rpc.BlockNumber
}
}

if chainConfig.Bor != nil {
borConfig := chainConfig.Bor.(*borcfg.BorConfig)
response["miner"], _ = ecrecover(b.Header(), borConfig)
}

return response, err
}

Expand Down Expand Up @@ -331,11 +325,6 @@ func (api *APIImpl) GetBlockByHash(ctx context.Context, numberOrHash rpc.BlockNu
}
}

if chainConfig.Bor != nil {
borConfig := chainConfig.Bor.(*borcfg.BorConfig)
response["miner"], _ = ecrecover(block.Header(), borConfig)
}

return response, err
}

Expand Down

0 comments on commit f959a4e

Please sign in to comment.