From 2cfe68947bda094494d1b5d821fc71043ca14f2f Mon Sep 17 00:00:00 2001 From: djmil Date: Tue, 28 Nov 2023 22:12:50 +0100 Subject: [PATCH] error log --- .../djmil/cordacheckers/gamestate/CommitTrxResponder.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/corda/workflows/src/main/java/djmil/cordacheckers/gamestate/CommitTrxResponder.java b/corda/workflows/src/main/java/djmil/cordacheckers/gamestate/CommitTrxResponder.java index e14e227..6e0b276 100644 --- a/corda/workflows/src/main/java/djmil/cordacheckers/gamestate/CommitTrxResponder.java +++ b/corda/workflows/src/main/java/djmil/cordacheckers/gamestate/CommitTrxResponder.java @@ -44,6 +44,10 @@ public class CommitTrxResponder implements ResponderFlow { log.info("Approval for " + trxToValidate.getId()); }; + if (utxoLedgerService == null) { + log.error("utxoLedgerService is NULL"); + return; + } UtxoSignedTransaction finalizedSignedTransaction = this.utxoLedgerService .receiveFinality(session, txValidator) .getTransaction();