Skip to content

Commit

Permalink
fix channelToPB to additionally copy UpgradeSequence
Browse files Browse the repository at this point in the history
Signed-off-by: Masanori Yoshida <[email protected]>
  • Loading branch information
siburu committed Jul 23, 2024
1 parent 97dac7e commit e09cba6
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pkg/relay/ethereum/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ func connectionEndToPB(conn ibchandler.ConnectionEndData) connectiontypes.Connec

func channelToPB(chann ibchandler.ChannelData) channeltypes.Channel {
return channeltypes.Channel{
State: channeltypes.State(chann.State),
Ordering: channeltypes.Order(chann.Ordering),
Counterparty: channeltypes.Counterparty(chann.Counterparty),
ConnectionHops: chann.ConnectionHops,
Version: chann.Version,
State: channeltypes.State(chann.State),
Ordering: channeltypes.Order(chann.Ordering),
Counterparty: channeltypes.Counterparty(chann.Counterparty),
ConnectionHops: chann.ConnectionHops,
Version: chann.Version,
UpgradeSequence: chann.UpgradeSequence,
}
}

Expand Down

0 comments on commit e09cba6

Please sign in to comment.