Skip to content

Commit

Permalink
Merge pull request #80 from vineeth-kagitha/master
Browse files Browse the repository at this point in the history
Fix send_transaction method: updated incorrect method name from get_r…
  • Loading branch information
GitBolt authored Oct 13, 2024
2 parents dca5163 + 218041a commit 31277c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solathon/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 31277c4

Please sign in to comment.