block eth_subscribe and eth_unsubscribe over http
This commit is contained in:
parent
9885bdfd8c
commit
95045ec78e
@ -1007,6 +1007,16 @@ impl Web3ProxyApp {
|
|||||||
// TODO: return a real response if all backends are syncing or if no servers in sync
|
// TODO: return a real response if all backends are syncing or if no servers in sync
|
||||||
json!(false)
|
json!(false)
|
||||||
}
|
}
|
||||||
|
"eth_subscribe" => {
|
||||||
|
return Err(anyhow::anyhow!(
|
||||||
|
"notifications not supported. eth_subscribe is only available over a websocket"
|
||||||
|
));
|
||||||
|
}
|
||||||
|
"eth_unsubscribe" => {
|
||||||
|
return Err(anyhow::anyhow!(
|
||||||
|
"notifications not supported. eth_unsubscribe is only available over a websocket"
|
||||||
|
));
|
||||||
|
}
|
||||||
"net_listening" => {
|
"net_listening" => {
|
||||||
// no stats on this. its cheap
|
// no stats on this. its cheap
|
||||||
// TODO: only if there are some backends on balanced_rpcs?
|
// TODO: only if there are some backends on balanced_rpcs?
|
||||||
|
Loading…
Reference in New Issue
Block a user