diff --git a/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/TxPoolBesuPendingTransactions.java b/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/TxPoolBesuPendingTransactions.java index 9ad13c1a20b..2e18f24e72d 100644 --- a/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/TxPoolBesuPendingTransactions.java +++ b/ethereum/api/src/main/java/org/hyperledger/besu/ethereum/api/jsonrpc/internal/methods/TxPoolBesuPendingTransactions.java @@ -50,8 +50,10 @@ public String getName() { @Override public JsonRpcResponse response(final JsonRpcRequestContext requestContext) { - final Collection pendingTransactions = transactionPool.getPendingTransactions(); - final Integer limit = requestContext.getOptionalParameter(0, Integer.class).orElse(pendingTransactions.size()); + final Collection pendingTransactions = + transactionPool.getPendingTransactions(); + final Integer limit = + requestContext.getOptionalParameter(0, Integer.class).orElse(pendingTransactions.size()); final List filters = requestContext .getOptionalParameter(1, PendingTransactionsParams.class)