diff --git a/corda/contracts/src/main/java/djmil/cordacheckers/contracts/GameProposalContract.java b/corda/contracts/src/main/java/djmil/cordacheckers/contracts/GameProposalContract.java index 34c3b9b..0d64da5 100644 --- a/corda/contracts/src/main/java/djmil/cordacheckers/contracts/GameProposalContract.java +++ b/corda/contracts/src/main/java/djmil/cordacheckers/contracts/GameProposalContract.java @@ -19,6 +19,8 @@ public class GameProposalContract implements net.corda.v5.ledger.utxo.Contract { requireThat(trx.getCommands().size() == 1, GameCommand.REQUIRE_SINGLE_COMMAND); final GameCommand command = getSingleCommand(trx, GameCommand.class); + log.info("GameProposalContract.verify() " +command); + switch (command.getAction()) { case GAME_PROPOSAL_CREATE: command.validateGameProposalCreate(trx); @@ -39,6 +41,8 @@ public class GameProposalContract implements net.corda.v5.ledger.utxo.Contract { default: throw new GameCommand.ActionException(); } + + log.info("GameProposalContract.verify() " +command + " [OK]"); } }