Files
hash-wallet/lib
f6566e3baf Enforce passphrase confirmation match on the restore and create wallet flows (#3474)
* fix: enforce passphrase confirmation in restore passphrase bottom sheet

The confirm-passphrase field in AddPassphraseBottomSheet already had a
validator comparing it to the first field, but the fields were not inside
a Form and nothing ever called validate(), so the validator never ran.
Tapping "Restore" restored the wallet with the first field's value even
when the confirmation did not match, defeating the typo check.

Wrap both fields in a Form and validate it before completing the restore,
matching the existing pattern in advanced_privacy_settings_page.dart.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019DtLNfYw1H81p7zZrkNDXM

* Validate passphrase confirmation when the passphrase field is empty

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-08-02 09:43:46 +02:00
..
2026-07-21 04:54:48 +03:00
2026-07-27 10:20:40 +02:00
2026-07-26 02:20:03 +02:00
2026-07-16 21:39:49 +03:00
2026-07-16 21:39:49 +03:00
2026-07-27 13:20:52 +02:00
2026-07-27 13:20:52 +02:00
2026-07-16 21:39:49 +03:00
2026-07-28 00:13:29 +02:00
2026-07-27 10:20:40 +02:00
2026-03-11 04:26:57 +02:00