Don't fix bug when no money is involved.

This commit is contained in:
Aditya Kulkarni
2019-10-21 13:09:47 -07:00
parent 94e70cc3f7
commit 5cf2c955e3
2 changed files with 4 additions and 5 deletions

View File

@@ -235,7 +235,7 @@ impl Command for EncryptCommand {
use crate::lightwallet::bugs::BugBip39Derivation;
if BugBip39Derivation::has_bug(lightclient) {
let mut h = vec![];
h.push("It looks like your wallet has the bop39bug. Please run 'fixbip39bug' to fix it");
h.push("It looks like your wallet has the bip39bug. Please run 'fixbip39bug' to fix it");
h.push("before encrypting your wallet.");
h.push("ERROR: Cannot encrypt while wallet has the bip39bug.");
return h.join("\n");