Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ancazamfir committed Nov 12, 2020
1 parent b93dd91 commit 673da07
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions relayer/src/tx/connection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,8 @@ pub fn build_conn_try(
Kind::ConnOpenTry(
opts.src_connection_id.clone(),
"missing connection on source chain".to_string(),
).context(e)
)
.context(e)
})?;
// TODO - check that the src connection is consistent with the try options

Expand Down Expand Up @@ -319,7 +320,8 @@ pub fn build_conn_ack(
Kind::ConnOpenAck(
opts.src_connection_id.clone(),
"missing connection on source chain".to_string(),
).context(e)
)
.context(e)
})?;

// TODO - check that the src connection is consistent with the ack options
Expand Down Expand Up @@ -405,7 +407,8 @@ pub fn build_conn_confirm(
Kind::ConnOpenAck(
opts.src_connection_id.clone(),
"missing connection on source chain".to_string(),
).context(e)
)
.context(e)
})?;

// TODO - check that the src connection is consistent with the confirm options
Expand Down

0 comments on commit 673da07

Please sign in to comment.