Skip to content

Commit

Permalink
add await for driftClient.subscribe()
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbigz committed Aug 27, 2024
1 parent 97a59fa commit d15a317
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const driftClient = new DriftClient({
env: 'mainnet-beta',
});

driftClient.subscribe();
await driftClient.subscribe();
```
```python
from anchorpy import Wallet
Expand Down

0 comments on commit d15a317

Please sign in to comment.