Skip to content

Commit

Permalink
Fix client-ids in OpenInit and OpenTry for connection (cosmos#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
ancazamfir authored Jun 15, 2020
1 parent 147e44a commit c447e63
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions modules/src/ics03_connection/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ impl TryFrom<RawObject> for OpenInit {
Ok(OpenInit {
height: obj.height,
connection_id: attribute!(obj, "connection_open_init.connection_id"),
client_id: attribute!(obj, "connection_open_init.counterparty_client_id"),
counterparty_client_id: attribute!(obj, "connection_open_init.client_id"),
client_id: attribute!(obj, "connection_open_init.client_id"),
counterparty_client_id: attribute!(obj, "connection_open_init.counterparty_client_id"),
})
}
}
Expand All @@ -47,8 +47,8 @@ impl TryFrom<RawObject> for OpenTry {
Ok(OpenTry {
height: obj.height,
connection_id: attribute!(obj, "connection_open_try.connection_id"),
client_id: attribute!(obj, "connection_open_try.counterparty_client_id"),
counterparty_client_id: attribute!(obj, "connection_open_try.client_id"),
client_id: attribute!(obj, "connection_open_try.client_id"),
counterparty_client_id: attribute!(obj, "connection_open_try.counterparty_client_id"),
})
}
}
Expand Down

0 comments on commit c447e63

Please sign in to comment.