connect.py: stop using deprecated method_whitelist

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2022-08-26 16:27:04 +02:00
parent be28c82968
commit b2a0bf4aef
No known key found for this signature in database
GPG Key ID: 09AA5403E54D9931
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class RPC:
self.host = host
self.port = port
self.timeout = util.Timeout(connect=timeout, read=timeout)
self.retries = util.Retry(connect=retries, read=retries, method_whitelist=["POST"])
self.retries = util.Retry(connect=retries, read=retries, allowed_methods=["POST"])
self.http = PoolManager(retries=self.retries, timeout=self.timeout)
def call(self, method, params=[]):