Skip to content

Commit 01d364e

Browse files
felixfaisaloutofxxxKailai-Wang
authored
fix: double encoding (#2393)
Co-authored-by: Zhouhui Tian <125243011+zhouhuitian@users.noreply.github.com> Co-authored-by: Kai <7630809+Kailai-Wang@users.noreply.github.com>
1 parent b3341a7 commit 01d364e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tee-worker/sidechain/rpc-handler/src/direct_top_pool_api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ where
132132
Ok(Ok(response)) => {
133133
let json_value = RpcReturnValue {
134134
do_watch: false,
135-
value: response.encode(),
135+
value: response,
136136
status: DirectRequestStatus::Ok,
137137
};
138138
Ok(json!(json_value.to_hex()))

0 commit comments

Comments
 (0)