From 4a880bae8855cee015ae81d65e56db03a53f83e6 Mon Sep 17 00:00:00 2001 From: Zahin Mohammad Date: Thu, 9 Apr 2026 11:15:19 +0000 Subject: [PATCH 1/2] fix(sdk-core): use explicit undefined check for mpcv2PartyId Falsy check `params.mpcv2PartyId ? ... : 0` treats party ID 0 as falsy, causing `getSignatureShareRoundOne` to receive `undefined` while the `Dsg` constructor receives `0` when `mpcv2PartyId` is not supplied. Replace with an explicit undefined check to ensure both callers receive the same value. Ticket: WAL-387 --- modules/sdk-core/src/bitgo/utils/tss/ecdsa/ecdsaMPCv2.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/sdk-core/src/bitgo/utils/tss/ecdsa/ecdsaMPCv2.ts b/modules/sdk-core/src/bitgo/utils/tss/ecdsa/ecdsaMPCv2.ts index be1dff5b51..55f1d9b725 100644 --- a/modules/sdk-core/src/bitgo/utils/tss/ecdsa/ecdsaMPCv2.ts +++ b/modules/sdk-core/src/bitgo/utils/tss/ecdsa/ecdsaMPCv2.ts @@ -776,7 +776,7 @@ export class EcdsaMPCv2Utils extends BaseEcdsaUtils { const hashBuffer = hash.update(bufferContent).digest(); const otherSigner = new DklsDsg.Dsg( userKeyShare, - params.mpcv2PartyId ? params.mpcv2PartyId : 0, + params.mpcv2PartyId !== undefined ? params.mpcv2PartyId : 0, derivationPath, hashBuffer ); From c2c3a79a99a36a76ed581de125b2f646f3b02a3a Mon Sep 17 00:00:00 2001 From: Zahin Mohammad Date: Thu, 9 Apr 2026 07:38:29 -0400 Subject: [PATCH 2/2] chore: add new teams to commitlint TICKET: WAL-387 --- commitlint.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commitlint.config.js b/commitlint.config.js index fd2d522a11..4b99c3f306 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -67,6 +67,8 @@ module.exports = { 'VL-', 'WIN-', 'WP-', + 'WAL-', + 'WCN-', 'WCI-', 'COIN-', 'FIAT-',