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();