fix(co-sign): add threshold_n to CreateSignSession API response
Add keygenThresholdN to the CreateSignSession response so frontend can access the original N value from keygen session. This is required for proper TSS operation. 🤖 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
75b15acda2
commit
5ebdd4d592
|
|
@ -608,6 +608,7 @@ func (h *CoManagedHTTPHandler) CreateSignSession(c *gin.Context) {
|
|||
"invite_code": inviteCode,
|
||||
"join_token": wildcardToken, // Backward compatible: wildcard token (may be empty)
|
||||
"join_tokens": resp.JoinTokens, // New: all join tokens (map[partyID]token)
|
||||
"threshold_n": keygenThresholdN, // Original N from keygen (required for TSS)
|
||||
"threshold_t": req.ThresholdT,
|
||||
"selected_parties": resp.SelectedParties,
|
||||
"status": "waiting_for_participants",
|
||||
|
|
|
|||
Loading…
Reference in New Issue