Root cause: After keygen/sign completion, the gRPC message stream was not unsubscribed. On the second operation, prepareForSign/prepareForKeygen would try to cancel the stale stream, causing "CANCELLED: Cancelled on client". Changes in tss-handler.ts: - Add grpcClient.unsubscribeMessages() in all cleanup paths: - participateKeygen close handler - participateKeygen error handler - participateSign close handler - participateSign error handler - cancel() method - Reset sessionId and partyId in all cleanup paths Changes in main.ts: - Add reconnection logic in app 'activate' event for macOS 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| electron | ||
| proto | ||
| scripts | ||
| src | ||
| tss-party | ||
| .gitignore | ||
| build-windows.bat | ||
| electron-builder.json | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.electron.json | ||
| tsconfig.json | ||
| tsconfig.node.json | ||
| vite.config.ts | ||