Skip to content

Commit

Permalink
Fix client-ids in OpenInit and OpenTry for connection (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
ancazamfir authored Jun 15, 2020
1 parent 7de6559 commit ba810c3
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 ba810c3

Please sign in to comment.