diff --git a/source/gateway/src/main/java/com/jd/blockchain/gateway/web/TxProcessingController.java b/source/gateway/src/main/java/com/jd/blockchain/gateway/web/TxProcessingController.java index 41739cc7..dcc58cc3 100644 --- a/source/gateway/src/main/java/com/jd/blockchain/gateway/web/TxProcessingController.java +++ b/source/gateway/src/main/java/com/jd/blockchain/gateway/web/TxProcessingController.java @@ -74,6 +74,9 @@ public class TxProcessingController implements TransactionService { } // 注:转发前自动附加网关的签名并转发请求至共识节点;异步的处理方式 - return peerService.getTransactionService().process(txRequest); + LOGGER.info("[contentHash={}],before peerService.getTransactionService().process(txRequest)",txRequest.getTransactionContent().getHash()); + TransactionResponse transactionResponse = peerService.getTransactionService().process(txRequest); + LOGGER.info("[contentHash={}],after peerService.getTransactionService().process(txRequest)",txRequest.getTransactionContent().getHash()); + return transactionResponse; } }