change error message [skip ci]
OmarHatem committed
Jan 31, 2025 at 03:57 UTC
96921d576729d808a4c2793157ae5b36da724f9f
1 file changed
+1
-1
cw_zano/lib/zano_wallet_api.dart
+1
-1
@@ -259,7 +259,7 @@ mixin ZanoWalletApi {
259
final code = map!['error']!['code'] ?? '';
260
final message = map['error']!['message'] ?? '';
261
if (code == Consts.errorWrongSeed) {
262
- throw RestoreFromSeedsException('Error restoring wallet, wrong seed');
262
+ throw RestoreFromSeedsException('Error restoring wallet\nPlease check the seed words are correct. Additionally, if you created this wallet with a passphrase please add it under the Advanced Settings page.');
263
} else if (code == Consts.errorAlreadyExists) {
264
throw RestoreFromSeedsException('Error restoring wallet, already exists');
265
}