Skip to content

Commit

Permalink
Return tx when logs don't match ABCIMessageLog
Browse files Browse the repository at this point in the history
  • Loading branch information
Inkvi committed May 8, 2024
1 parent 3e63766 commit 374eab9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion node/remote/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@ func (cp *Node) Tx(hash string) (*types.Transaction, error) {
}
logs, err := sdk.ParseABCILogs(result.TxResult.Log)
if err != nil {
return nil, err
cp.client.Logger.Error("failed to parse ABCI logs", "err", err)
logs = []sdk.ABCIMessageLog{}
}

var convTx = &types.Transaction{
Expand Down

0 comments on commit 374eab9

Please sign in to comment.