moar logs for contract
This commit is contained in:
parent
c3751dbc81
commit
609341631d
@ -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]");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user