From 5f215facab49af28598e0acf9a861f6547beb284 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 11 Jul 2023 13:18:19 -0700 Subject: [PATCH] fix typo --- 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 5228b47a..5652bf08 100644 --- a/web3_proxy/src/rpcs/many.rs +++ b/web3_proxy/src/rpcs/many.rs @@ -932,7 +932,7 @@ impl Web3Rpcs { // TODO: make the expected limit configurable // TODO: parse the rate_limit_substr and only continue if it is < expected limit if error_msg.contains("exceeding limit 2000000") - || error_msg.endswith( + || error_msg.ends_with( "exceeding --rpc.returndata.limit 2000000", ) {