debug(tss-party): add detailed key matching logs
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
3564f30f27
commit
7a82a56ae5
|
|
@ -613,6 +613,17 @@ func executeSign(
|
|||
// 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))
|
||||
|
||||
// Debug: print keygenData.Ks keys (first 8 chars of hex)
|
||||
for i, k := range keygenData.Ks {
|
||||
fmt.Fprintf(os.Stderr, "[TSS-SIGN] keygenData.Ks[%d] = %s...\n", i, hex.EncodeToString(k.Bytes())[:16])
|
||||
}
|
||||
// Debug: print sortedPartyIDs keys
|
||||
for i, p := range sortedPartyIDs {
|
||||
fmt.Fprintf(os.Stderr, "[TSS-SIGN] sortedPartyIDs[%d]: Id=%s, Moniker=%s, Key=%s\n",
|
||||
i, p.Id[:8], p.Moniker, hex.EncodeToString(p.Key))
|
||||
}
|
||||
|
||||
subsetKeygenData := keygen.BuildLocalSaveDataSubset(keygenData, sortedPartyIDs)
|
||||
fmt.Fprintf(os.Stderr, "[TSS-SIGN] Subset keygenData has %d parties (Ks length)\n", len(subsetKeygenData.Ks))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue