Skip to content

Commit

Permalink
revert session property deserializing
Browse files Browse the repository at this point in the history
  • Loading branch information
borngraced committed Dec 12, 2024
1 parent 25275e9 commit 89756db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mm2src/kdf_walletconnect/src/session/rpc/settle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ pub(crate) async fn reply_session_settle_request(
session.expiry = settle.expiry;

if let Some(value) = settle.session_properties {
let session_properties = serde_json::from_str::<Option<SessionProperties>>(&value.to_string())?;
session.session_properties = session_properties;
let session_properties = serde_json::from_value::<SessionProperties>(value)?;
session.session_properties = Some(session_properties);
};
};

Expand Down

0 comments on commit 89756db

Please sign in to comment.