Skip to content

Commit

Permalink
sync the upstream changes
Browse files Browse the repository at this point in the history
Signed-off-by: onur-ozkan <work@onurozkan.dev>
  • Loading branch information
onur-ozkan committed Sep 26, 2024
1 parent b7fa008 commit d8a75e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/net/kdf_rpc_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ pub(crate) async fn version_rpc(cfg: &AppConfig) -> GenericResult<serde_json::Va

pub(crate) async fn peer_connection_healthcheck_rpc(
cfg: &AppConfig,
peer_id: &str,
peer_address: &str,
) -> GenericResult<serde_json::Value> {
let payload = serde_json::json!({
"userpass": cfg.kdf_rpc_password,
"method": "peer_connection_healthcheck",
"mmrpc": "2.0",
"params": {
"peer_id": peer_id
"peer_address": peer_address
}
});

Expand Down

0 comments on commit d8a75e6

Please sign in to comment.