Commit 4a880ba
committed
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-3871 parent bf52935 commit 4a880ba
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
776 | 776 | | |
777 | 777 | | |
778 | 778 | | |
779 | | - | |
| 779 | + | |
780 | 780 | | |
781 | 781 | | |
782 | 782 | | |
| |||
0 commit comments