Skip to content

Commit

Permalink
drift_client.py: fix from_config init
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbigz committed Nov 15, 2023
1 parent 88c6e1f commit 3562a80
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/driftpy/drift_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ def from_config(config: Config, provider: Provider, authority: Keypair = None):
provider,
)

drift_client = DriftClient
(program, authority)
drift_client = DriftClient(program, authority)
drift_client.config = config
drift_client.idl = idl

Expand Down

0 comments on commit 3562a80

Please sign in to comment.