Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not allow penalty payer to be null in settle funds in ts client #222

Merged
merged 3 commits into from
Feb 6, 2024

Conversation

brittcyr
Copy link
Contributor

@brittcyr brittcyr commented Feb 6, 2024

The program requires it as a signer.
https://github.com/openbook-dex/openbook-v2/blob/master/programs/openbook-v2/src/accounts_ix/settle_funds.rs#L11

The default key that the client otherwise uses does not work because the web3.js client fails signature validation in preflight.

ts/client/src/client.ts Outdated Show resolved Hide resolved
@skrrb skrrb merged commit 0e051c3 into openbook-dex:master Feb 6, 2024
5 checks passed
@binyebarwe
Copy link
Contributor

@brittcyr i've pushed a new version of the client with these changes.
@openbook-dex/[email protected]

@brittcyr brittcyr deleted the penalty branch May 16, 2024 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants