Skip to content

Commit

Permalink
fix: double encoding (#2393)
Browse files Browse the repository at this point in the history
Co-authored-by: Zhouhui Tian <125243011+zhouhuitian@users.noreply.github.com>
Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com>
  • Loading branch information
3 people committed Jan 10, 2024
1 parent b3341a7 commit 01d364e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ where
Ok(Ok(response)) => {
let json_value = RpcReturnValue {
do_watch: false,
value: response.encode(),
value: response,
status: DirectRequestStatus::Ok,
};
Ok(json!(json_value.to_hex()))
Expand Down

0 comments on commit 01d364e

Please sign in to comment.