mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2025-03-12 09:27:01 +00:00
temp backwards compat fix
This commit is contained in:
parent
4d2ca3708d
commit
e1b583b16d
1 changed files with 4 additions and 1 deletions
|
@ -26,7 +26,10 @@ mixin MnemonicInterface<T extends CryptoCurrency> on Wallet<T> {
|
|||
);
|
||||
|
||||
if (mnemonicPassphrase == null) {
|
||||
throw SWException("mnemonicPassphrase has not been set");
|
||||
// some really old wallets may not have this set so for legacy reasons do
|
||||
// not throw here for now
|
||||
return "";
|
||||
//throw SWException("mnemonicPassphrase has not been set");
|
||||
}
|
||||
|
||||
return mnemonicPassphrase;
|
||||
|
|
Loading…
Reference in a new issue