From da76037d040c7ee9cd7fe34becbe8dc0773dd981 Mon Sep 17 00:00:00 2001 From: hailin Date: Thu, 1 Jan 2026 20:24:47 -0800 Subject: [PATCH] fix(tss-wasm): correct signing rounds from 6 to 9 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GG20 signing protocol has 9 rounds, not 6. This aligns WASM with Electron (tss-party/main.go:717) and Android (tsslib/tsslib.go:477). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- backend/mpc-system/services/tss-wasm/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/mpc-system/services/tss-wasm/main.go b/backend/mpc-system/services/tss-wasm/main.go index aeec102f..d7f4ef13 100644 --- a/backend/mpc-system/services/tss-wasm/main.go +++ b/backend/mpc-system/services/tss-wasm/main.go @@ -403,9 +403,9 @@ func stopSession(this js.Value, args []js.Value) interface{} { // handleOutgoingMessages processes messages from the TSS protocol func (s *TSSSession) handleOutgoingMessages() { - totalRounds := 4 + totalRounds := 4 // GG20 keygen has 4 rounds if !s.IsKeygen { - totalRounds = 6 // Signing has 6 rounds + totalRounds = 9 // GG20 signing has 9 rounds (matching Electron and Android) } for {