Description
After performing a restore, MostroService._onData throws and silently discards certain events. The error appears repeatedly in logs but does not crash the app.
Error
FormatException: Failed to parse Peer from JSON: FormatException: Public key cannot be empty
#0 MostroService._onData (package:mostro_mobile/services/mostro_service.dart:172:14)
#1 <asynchronous suspension>
Context
- Occurs during/after restore when the relay replays historical events
- The event is silently dropped — state is not updated
Reproduction
Perform a restore on an account.
- Documented in
docs/architecture/DISPUTE_CHAT_RESTORE.md
Description
After performing a restore,
MostroService._onDatathrows and silently discards certain events. The error appears repeatedly in logs but does not crash the app.Error
Context
Reproduction
Perform a restore on an account.
docs/architecture/DISPUTE_CHAT_RESTORE.md