Skip to content

Conversation

@pranavjain97
Copy link
Contributor

No description provided.

@pranavjain97 pranavjain97 force-pushed the WP-4593-add-bitgo-generate-wallet branch from 37e1b2f to 737fedd Compare May 28, 2025 20:03
@mohammadalfaiyazbitgo mohammadalfaiyazbitgo force-pushed the WP-4593-add-bitgo-generate-wallet branch 2 times, most recently from 1474b44 to 9cf361d Compare June 2, 2025 19:29
@mohammadalfaiyazbitgo mohammadalfaiyazbitgo force-pushed the WP-4593-add-bitgo-generate-wallet branch from 9cf361d to 41827fb Compare June 2, 2025 19:34
Copy link
Contributor

@zahin-mohammad zahin-mohammad left a comment

Choose a reason for hiding this comment

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

:stamp: to unblock dev, but TAL at the comments

Comment on lines +1 to +3
/**
* @prettier
*/
Copy link
Contributor

Choose a reason for hiding this comment

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

Why do you need this comment here? Why not just prettify all files?

app.post(
'/api/:coin/wallet/generate',
parseBody,
prepareBitGo(config() as MasterExpressConfig),
Copy link
Contributor

Choose a reason for hiding this comment

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

why the cast?

import { handleGenerateWalletOnPrem } from './masterBitgoExpress/generateWallet';

const debugLogger = debug('master-express:express');
const BITGOEXPRESS_USER_AGENT = `BitGoExpress/${pjson.version} BitGoJS/${version}`;
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const BITGOEXPRESS_USER_AGENT = `BitGoExpress/${pjson.version} BitGoJS/${version}`;
const BITGOEXPRESS_USER_AGENT = `MasterExpress/${pjson.version} BitGoJS/${version}`;

Comment on lines +168 to +172
console.log('SSL Enabled:', cfg.enableSSL);
console.log('Enclaved Express URL:', cfg.enclavedExpressUrl);
console.log('Certificate exists:', Boolean(cfg.enclavedExpressSSLCert));
console.log('Certificate length:', cfg.enclavedExpressSSLCert.length);
console.log('Certificate content:', cfg.enclavedExpressSSLCert);
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we use a better logger then console.log? Is that planned in the future?

Comment on lines 60 to 62
"engines": {
"node": ">=14"
"node": ">=20.18.0"
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Whats the reason for not using 22, or 24?

@mohammadalfaiyazbitgo mohammadalfaiyazbitgo merged commit 78ef37e into master Jun 2, 2025
3 checks passed
@mohammadalfaiyazbitgo mohammadalfaiyazbitgo deleted the WP-4593-add-bitgo-generate-wallet branch June 2, 2025 20:01
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