mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
change error message [skip ci]
This commit is contained in:
parent
a936345bfb
commit
96921d5767
1 changed files with 1 additions and 1 deletions
|
@ -259,7 +259,7 @@ mixin ZanoWalletApi {
|
||||||
final code = map!['error']!['code'] ?? '';
|
final code = map!['error']!['code'] ?? '';
|
||||||
final message = map['error']!['message'] ?? '';
|
final message = map['error']!['message'] ?? '';
|
||||||
if (code == Consts.errorWrongSeed) {
|
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) {
|
} else if (code == Consts.errorAlreadyExists) {
|
||||||
throw RestoreFromSeedsException('Error restoring wallet, already exists');
|
throw RestoreFromSeedsException('Error restoring wallet, already exists');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue