Skip to content

Commit

Permalink
Fixed deprecation warning and response format
Browse files Browse the repository at this point in the history
  • Loading branch information
freak12techno authored and mappum committed Feb 7, 2024
1 parent 88979cc commit 4107673
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1139,6 +1139,7 @@ fn proposals() -> Value {
}

#[get("/ibc/core/connection/v1/connections/<connection>/client_state")]
#[allow(deprecated)]
async fn ibc_connection_client_state(connection: &str) -> Value {
let connection = app_client()
.query(|app| {
Expand Down Expand Up @@ -1186,7 +1187,6 @@ async fn ibc_connection_client_state(connection: &str) -> Value {
.collect();

json!({
"connection": connection,
"identified_client_state": {
"client_id": state.client_id,
"client_state": {
Expand Down

0 comments on commit 4107673

Please sign in to comment.