From 96921d576729d808a4c2793157ae5b36da724f9f Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Fri, 31 Jan 2025 03:57:45 +0200 Subject: [PATCH] change error message [skip ci] --- cw_zano/lib/zano_wallet_api.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cw_zano/lib/zano_wallet_api.dart b/cw_zano/lib/zano_wallet_api.dart index f7052bd87..4947ff3b5 100644 --- a/cw_zano/lib/zano_wallet_api.dart +++ b/cw_zano/lib/zano_wallet_api.dart @@ -259,7 +259,7 @@ mixin ZanoWalletApi { final code = map!['error']!['code'] ?? ''; final message = map['error']!['message'] ?? ''; if (code == Consts.errorWrongSeed) { - throw RestoreFromSeedsException('Error restoring wallet, wrong seed'); + 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.'); } else if (code == Consts.errorAlreadyExists) { throw RestoreFromSeedsException('Error restoring wallet, already exists'); }