Skip to content

Commit

Permalink
avoid invalid Bech32 prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Jul 1, 2023
1 parent b9a6d4c commit 06be480
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions relayer/chains/cosmos/log.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,11 @@ func (cc *CosmosProvider) LogSuccessTx(res *sdk.TxResponse, msgs []provider.Rela
if err := ir.UnpackAny(res.Tx, &m); err == nil {
if tx, ok := m.(*typestx.Tx); ok {
fields = append(fields, zap.Stringer("fees", tx.GetFee()))
done := cc.SetSDKContext()
if feePayer := getFeePayer(tx); feePayer != "" {
fields = append(fields, zap.String("fee_payer", feePayer))
}
done()
} else {
cc.log.Debug(
"Failed to convert message to Tx type",
Expand Down

0 comments on commit 06be480

Please sign in to comment.