Skip to content

Commit

Permalink
Merge branch 'master' into fix/tendermint-blcokresult-attributes-decode
Browse files Browse the repository at this point in the history
  • Loading branch information
davcrypto authored Oct 17, 2023
2 parents b188684 + 37170ea commit 4afefe0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions projection/ibc_channel/ibc_channel.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,10 @@ func (projection *IBCChannel) HandleEvents(height int64, events []event_entity.E
}

var amount string
if msgIBCTransferTransfer.Params.PacketData.Amount != nil {
amount = msgIBCTransferTransfer.Params.PacketData.Amount.String()
if msgIBCTransferTransfer.Params.PacketData.Amount == nil {
return nil
}
amount = msgIBCTransferTransfer.Params.PacketData.Amount.String()
denom := msgIBCTransferTransfer.Params.PacketData.Denom
destinationChannelID := msgIBCTransferTransfer.Params.DestinationChannel
destinationPortID := msgIBCTransferTransfer.Params.DestinationPort
Expand Down

0 comments on commit 4afefe0

Please sign in to comment.