File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -371,9 +371,7 @@ async def send_transaction(
371371 for attempt in range (max_retries ):
372372 try :
373373 # Get fresh blockhash for each attempt using robust method
374- fresh_blockhash = await self ._get_fresh_blockhash (
375- max_attempts = 3
376- )
374+ fresh_blockhash = await self ._get_fresh_blockhash (max_attempts = 3 )
377375
378376 # Wait longer to ensure blockhash propagated across network
379377 if attempt > 0 :
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ async def client(self):
5555 yield client
5656 await client .close ()
5757
58+ @pytest .fixture
5859 def test_keypair (self ):
5960 """Generate a test keypair for operations."""
6061 return Keypair ()
@@ -185,6 +186,7 @@ async def client(self):
185186 yield client
186187 await client .close ()
187188
189+ @pytest .fixture
188190 def test_keypair (self ):
189191 """Generate a test keypair for operations."""
190192 return Keypair ()
@@ -395,6 +397,7 @@ async def client(self):
395397 yield client
396398 await client .close ()
397399
400+ @pytest .fixture
398401 def test_keypair (self ):
399402 """Generate a test keypair."""
400403 return Keypair ()
You can’t perform that action at this time.
0 commit comments