mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 15:11:03 +00:00
deps: update jsonrpsee 0.3.0 (#289)
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
This commit is contained in:
+6
-5
@@ -48,18 +48,17 @@ use jsonrpsee_types::{
|
||||
params::{
|
||||
Id,
|
||||
JsonRpcParams,
|
||||
JsonRpcSubscriptionParams,
|
||||
SubscriptionId,
|
||||
TwoPointZero,
|
||||
},
|
||||
request::{
|
||||
JsonRpcCallSer,
|
||||
JsonRpcInvalidRequest,
|
||||
JsonRpcNotification,
|
||||
JsonRpcNotificationSer,
|
||||
},
|
||||
response::{
|
||||
JsonRpcResponse,
|
||||
JsonRpcSubscriptionResponseAlloc,
|
||||
},
|
||||
response::JsonRpcResponse,
|
||||
},
|
||||
DeserializeOwned,
|
||||
Error as JsonRpseeError,
|
||||
@@ -210,7 +209,9 @@ impl SubxtClient {
|
||||
while let Some(Ok(response)) = from_back.next().await
|
||||
{
|
||||
let notif = serde_json::from_str::<
|
||||
JsonRpcSubscriptionResponseAlloc<JsonValue>,
|
||||
JsonRpcNotification<
|
||||
JsonRpcSubscriptionParams<_>,
|
||||
>,
|
||||
>(
|
||||
&response
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user