Skip to content
Snippets Groups Projects
Commit 565afdce authored by Ethan Buchman's avatar Ethan Buchman
Browse files

log check tx

parent b7c96669
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
package tmsp
import (
"github.com/tendermint/go-logger"
)
var log = logger.New("module", "state")
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment