From 1c61390ad1554a928019d2d654d5c405b587cfda Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 16 May 2023 23:42:42 -0700 Subject: [PATCH] check if watch_consensus_rpcs.changed has failed i dont think it ever will, but better safe than sorry --- web3_proxy/src/rpcs/many.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3_proxy/src/rpcs/many.rs b/web3_proxy/src/rpcs/many.rs index d5440115..6030a7d4 100644 --- a/web3_proxy/src/rpcs/many.rs +++ b/web3_proxy/src/rpcs/many.rs @@ -980,7 +980,7 @@ impl Web3Rpcs { ShouldWaitForBlock::Wait { .. } => {} } } - watch_consensus_rpcs.changed().await; + watch_consensus_rpcs.changed().await?; } } }