diff --git a/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthGetMinerDataByBlockHash.java b/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthGetMinerDataByBlockHash.java index 8fc3e6d732a..9c6608e0b71 100644 --- a/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthGetMinerDataByBlockHash.java +++ b/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/EthGetMinerDataByBlockHash.java @@ -93,7 +93,8 @@ public static MinerDataResult createMinerDataResult( final Wei staticBlockReward = protocolSpec.getBlockReward(); final Wei transactionFee = blockchainQueries - .transactionReceiptsByBlockHash(blockHeader.getHash(), protocolSchedule) + .getBlockchain() + .getTxReceipts(blockHeader.getHash()) .orElse(new ArrayList()) .stream() .map(