From bc0c540100b6e2b357f130a7ccb41ee9d83d8980 Mon Sep 17 00:00:00 2001 From: MASDXI Date: Wed, 13 Mar 2024 09:59:16 +0700 Subject: [PATCH] formatting code with spotless apply Signed-off-by: MASDXI --- .../internal/methods/TxPoolBesuPendingTransactions.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)