Commit d5485bcc authored by Maxim Bogdanov's avatar Maxim Bogdanov 🙉

Fixed restore and create wallet logic

parent 1a1dbde1
...@@ -5,10 +5,12 @@ export class WalletCreation { ...@@ -5,10 +5,12 @@ export class WalletCreation {
this.mnemonic = mnemonic; this.mnemonic = mnemonic;
this.password = password; this.password = password;
this.folderPath = folderPath; this.folderPath = folderPath;
this.passphrase = "";
} }
name: string; name: string;
mnemonic: string; mnemonic: string;
password: string; password: string;
folderPath?: string; folderPath?: string;
passphrase: string;
} }
...@@ -6,6 +6,7 @@ export class WalletRecovery { ...@@ -6,6 +6,7 @@ export class WalletRecovery {
this.password = password; this.password = password;
this.creationDate = creationDate; this.creationDate = creationDate;
this.folderPath = folderPath; this.folderPath = folderPath;
this.passphrase = password;
} }
mnemonic: string; mnemonic: string;
...@@ -13,4 +14,5 @@ export class WalletRecovery { ...@@ -13,4 +14,5 @@ export class WalletRecovery {
name: string; name: string;
creationDate: Date; creationDate: Date;
folderPath?: string; folderPath?: string;
passphrase: string;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment