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-', 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 );