From 218041a1687d3f4d346d2df024268113d13c9704 Mon Sep 17 00:00:00 2001 From: Vineeth Kagitha Date: Sat, 12 Oct 2024 16:47:26 -0500 Subject: [PATCH] Fix send_transaction method: updated incorrect method name from get_recent_blockhash to get_latest_blockhash --- solathon/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solathon/client.py b/solathon/client.py index 5e63e41..d3c85a4 100644 --- a/solathon/client.py +++ b/solathon/client.py @@ -778,7 +778,7 @@ def send_transaction(self, transaction: Transaction) -> RPCResponse[str] | str: recent_blockhash = transaction.recent_blockhash if recent_blockhash is None: - blockhash_resp = self.get_recent_blockhash() + blockhash_resp = self.get_latest_blockhash() recent_blockhash = blockhash_resp.blockhash transaction.recent_blockhash = recent_blockhash