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

fix: DI openSSLBytes #496

Merged
merged 1 commit into from
Sep 5, 2024
Merged

fix: DI openSSLBytes #496

merged 1 commit into from
Sep 5, 2024

Conversation

zahin-mohammad
Copy link
Contributor

@zahin-mohammad zahin-mohammad commented Sep 5, 2024

This PR unblocks recovery for ECDSA tss coins. A recent SDK change requires openSSLBytes to be dependency injected into the recover method.

In future prs we will remove opensslbytes all together from the TSS recovery flow.

Comment on lines +318 to +321
...parameters,
openSSLBytes,
},
openSSLBytes
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EVM takes it in the params, COSMOS like takes it as a second param...

return new Error(
`Coin: ${coin} does not support v1 wallets sweep`
);
ipcMain.handle('sweepV1', async (event, coin, parameters) => {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Formatting.

@zahin-mohammad zahin-mohammad marked this pull request as ready for review September 5, 2024 03:34
@zahin-mohammad zahin-mohammad requested a review from a team September 5, 2024 03:34
@zahin-mohammad zahin-mohammad merged commit 7d0505a into master Sep 5, 2024
5 checks passed
@zahin-mohammad zahin-mohammad deleted the WP-2604/gg18-recovery branch September 5, 2024 16:46
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.

2 participants