diff --git a/tmsp/erisdb.go b/tmsp/erisdb.go index 99757c0f44feb4e07f7472913db78bafdadb3082..f649a48807145f61b6031ca106112c0f6fe0e464 100644 --- a/tmsp/erisdb.go +++ b/tmsp/erisdb.go @@ -120,6 +120,10 @@ func (app ErisDBApp) AppendTx(txBytes []byte) (res tmsp.Result) { // Implements tmsp.Application func (app ErisDBApp) CheckTx(txBytes []byte) (res tmsp.Result) { + log.Info("Check Tx", "tx", txBytes) + defer func() { + log.Info("Check Tx", "res", res) + }() var n int var err error tx := new(types.Tx) diff --git a/tmsp/log.go b/tmsp/log.go new file mode 100644 index 0000000000000000000000000000000000000000..20fcf2f6a023613eccf13ee4f25dd4770efdaebf --- /dev/null +++ b/tmsp/log.go @@ -0,0 +1,7 @@ +package tmsp + +import ( + "github.com/tendermint/go-logger" +) + +var log = logger.New("module", "state")