diff --git a/src/methods.rs b/src/methods.rs index be9c0389..f598e07c 100644 --- a/src/methods.rs +++ b/src/methods.rs @@ -331,7 +331,7 @@ impl_method! { type Error = RpcChunkError; fn params(&self) -> Result { - Ok(json!([self])) + Ok(json!(self)) } }); }