Merge pull request #45 from ochaloup/starting-with-correct-url-at-client
BetterClient to use the first rpc url from list in the same way as CompoundRPCCaller
This commit is contained in:
commit
5cb0fb0fdd
|
@ -900,7 +900,7 @@ class BetterClient:
|
|||
if blockhash_cache_duration > 0:
|
||||
blockhash_cache = BlockhashCache(blockhash_cache_duration)
|
||||
client: Client = Client(
|
||||
endpoint=cluster_url.rpc,
|
||||
endpoint=cluster_urls[0].rpc,
|
||||
commitment=commitment,
|
||||
blockhash_cache=blockhash_cache,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue