Skip to content

Commit

Permalink
chg: adjust log only fr record / 2
Browse files Browse the repository at this point in the history
  • Loading branch information
marcello33 committed Nov 22, 2023
1 parent 828bb94 commit 6394865
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/side_tx_processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -265,8 +265,9 @@ func (app *HeimdallApp) runMsgs(ctx sdk.Context, msgs []sdk.Msg, sideTxResult ab
handler := app.sideRouter.GetRoute(msgRoute)
if handler != nil && handler.PostTxHandler != nil && isSideTxMsg {
msgResult := handler.PostTxHandler(ctx, msg, sideTxResult)
logger.Info(">>>>>>>>>> 6. side_tx_processor", "msgResult", msgResult)

if msgResult.Events[0].Type == "record" {
logger.Info(">>>>>>>>>> 6. side_tx_processor", "msgResult", msgResult)
}
// Each message result's Data must be length prefixed in order to separate
// each result.
data = append(data, msgResult.Data...)
Expand Down

0 comments on commit 6394865

Please sign in to comment.