mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-09 04:39:24 +00:00
Have the RPC return the unsupported version when Unsupported
This commit is contained in:
@@ -28,7 +28,7 @@ pub async fn rpc() -> Rpc {
|
||||
// Mine 20 blocks to ensure decoy availability
|
||||
mine_block(&rpc, &addr).await.unwrap();
|
||||
mine_block(&rpc, &addr).await.unwrap();
|
||||
assert!(!matches!(rpc.get_protocol().await.unwrap(), Protocol::Unsupported));
|
||||
assert!(!matches!(rpc.get_protocol().await.unwrap(), Protocol::Unsupported(_)));
|
||||
|
||||
rpc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user