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(sdk-core): fix createTssBitGoKeyFromOvcShares method #3694

Merged
merged 1 commit into from
Jun 27, 2023

Conversation

alebusse
Copy link
Contributor

changed the method response to match with OVC expected JSON, wrapping the response in wallet: {...} and renaming the walletgpgkeys field

WP-152

@alebusse alebusse force-pushed the WP-152-fix-createTssBitGoKeyFromOvcShares-method branch from 4f7ae7b to 4370604 Compare June 26, 2023 18:09
pranavjain97
pranavjain97 previously approved these changes Jun 26, 2023
@alebusse alebusse force-pushed the WP-152-fix-createTssBitGoKeyFromOvcShares-method branch from 4370604 to 79e6164 Compare June 26, 2023 18:52
@alebusse alebusse marked this pull request as ready for review June 26, 2023 20:33
@alebusse alebusse requested review from a team as code owners June 26, 2023 20:33
Copy link
Contributor

@OttoAllmendinger OttoAllmendinger left a comment

Choose a reason for hiding this comment

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

please submit whitespace changes separately

I thought we had a prettier set up for this?

// BitGo to Backup (OVC-2)
2: t.type({
bitgoToOvcShare: OvcShare,
export const BitGoToOvcJSON = t.strict(
Copy link
Contributor

Choose a reason for hiding this comment

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

you can create a type from this.

@@ -374,37 +374,39 @@ export class Keychains implements IKeychains {

// Create JSON data with platform shares for OVC-1 and OVC-2
const bitgoToOvcOutput = {
Copy link
Contributor

Choose a reason for hiding this comment

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

you can add a type to this from the codec type.

changed the method response to match with OVC expected JSON, wrapping the response in wallet: {...}
and renaming the walletgpgkeys field

WP-152
@alebusse alebusse force-pushed the WP-152-fix-createTssBitGoKeyFromOvcShares-method branch from 79e6164 to 70e3e13 Compare June 27, 2023 15:06
@alebusse alebusse merged commit 0218e97 into master Jun 27, 2023
@alebusse alebusse deleted the WP-152-fix-createTssBitGoKeyFromOvcShares-method branch June 27, 2023 17:47
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.

4 participants