Skip to content

Conversation

danielzhao122
Copy link
Contributor

added keychain codecs to a general codec file, as I assume that these codecs could be reused (but not sure if they will). refactored the UT that covered generateWallet to ensure that encoding and decoding works e2e.

TICKET: WP-5415

@danielzhao122 danielzhao122 force-pushed the WP-5415-express-migrate-api-v2-coin-wallet-generate-to-typed-routes branch from 16a0cd0 to 96dd8d5 Compare September 22, 2025 23:01
@danielzhao122 danielzhao122 requested a review from a team as a code owner September 30, 2025 14:53
const coin = bitgo.coin(req.decoded.coin);
const result = await coin.wallets().generateWallet(req.body);
if (req.query.includeKeychains === 'false') {
if ((req.decoded.includeKeychains as any) === false) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why are we casting to any here?

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