debug(tss-party): add logging for BuildLocalSaveDataSubset

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
hailin 2025-12-31 11:35:56 -08:00
parent 7ab28dced0
commit 3564f30f27
1 changed files with 3 additions and 0 deletions

View File

@ -611,7 +611,10 @@ func executeSign(
// This is required when signing with a subset of the original keygen participants.
// BuildLocalSaveDataSubset filters the Ks, BigXj, NTildej, H1j, H2j, and PaillierPKs
// arrays to only include data for the participating signers.
fmt.Fprintf(os.Stderr, "[TSS-SIGN] Original keygenData has %d parties (Ks length)\n", len(keygenData.Ks))
fmt.Fprintf(os.Stderr, "[TSS-SIGN] Building subset for %d signing parties\n", len(sortedPartyIDs))
subsetKeygenData := keygen.BuildLocalSaveDataSubset(keygenData, sortedPartyIDs)
fmt.Fprintf(os.Stderr, "[TSS-SIGN] Subset keygenData has %d parties (Ks length)\n", len(subsetKeygenData.Ks))
// Create channels
outCh := make(chan tss.Message, thresholdT*10)