mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-21 03:21:08 +03:00
Update wallet restore error message (#1368)
This commit is contained in:
parent
103c9cda77
commit
59f4806a2c
1 changed files with 2 additions and 2 deletions
|
@ -156,12 +156,12 @@ where
|
|||
{
|
||||
let max_derivations = 1_000_000;
|
||||
|
||||
// Don't proceed if wallet.dat has anything in it
|
||||
// Don't proceed if wallet_data has anything in it
|
||||
let is_empty = wallet.iter().next().is_none();
|
||||
if !is_empty {
|
||||
error!(
|
||||
LOGGER,
|
||||
"Not restoring. Please back up and remove existing wallet.dat first."
|
||||
"Not restoring. Please back up and remove existing wallet_data directory first."
|
||||
);
|
||||
return Ok(());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue