mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-10 21:19:24 +00:00
Fixes to the validator sets RPC
This commit is contained in:
@@ -155,6 +155,7 @@ impl Rpc {
|
||||
Err(RpcError::RequestError(Error { code, message }))
|
||||
}
|
||||
// `invalidateblock` yields this edge case
|
||||
// TODO: https://github.com/core-json/core-json/issues/18
|
||||
RpcResponse { result: None, error: None } => {
|
||||
if core::any::TypeId::of::<Response>() == core::any::TypeId::of::<()>() {
|
||||
Ok(Default::default())
|
||||
|
||||
Reference in New Issue
Block a user