Skip to content

Commit

Permalink
Add ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanTinianov committed Jan 14, 2025
1 parent ae9fd44 commit a29282d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration-tests/solclient/solclient.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ func (c *Client) TXSync(name string, commitment rpc.CommitmentType, instr []sola
return err
}
defer sub.Unsubscribe()
res, err := sub.Recv()
res, err := sub.Recv(context.Background())
if err != nil {
return err
}
Expand All @@ -196,7 +196,7 @@ func (c *Client) queueTX(sig solana.Signature, commitment rpc.CommitmentType) {
return err
}
defer sub.Unsubscribe()
res, err := sub.Recv()
res, err := sub.Recv(context.Background())
if err != nil {
return err
}
Expand Down

0 comments on commit a29282d

Please sign in to comment.