Update jsonrpsee reference (#1049)

* update jsonrpsee

* test

* Revert "test"

This reverts commit 2b69652ab92ff0d9649088c76faed2c94384540d.
This commit is contained in:
Svyatoslav Nikolsky
2021-07-19 14:03:59 +03:00
committed by Bastian Köcher
parent 4e18bff37c
commit 6103fbe40b
6 changed files with 34 additions and 24 deletions
+2 -3
View File
@@ -57,10 +57,9 @@ impl MaybeConnectionError for Error {
fn is_connection_error(&self) -> bool {
matches!(
*self,
Error::RpcError(RpcError::TransportError(_))
// right now if connection to the ws server is dropped (after it is already established),
// we're getting this error
Error::RpcError(RpcError::Transport(_))
| Error::RpcError(RpcError::Internal(_))
| Error::RpcError(RpcError::RestartNeeded(_))
| Error::ClientNotSynced(_),
)
}