Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix(lnd): correctly set initWallet props on restore
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfelton committed May 11, 2020
1 parent fbe93c6 commit 22b92e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions renderer/reducers/lnd.js
Original file line number Diff line number Diff line change
Expand Up @@ -526,11 +526,11 @@ export const createWallet = ({ recover } = {}) => async (dispatch, getState) =>
// Call initWallet method.
await grpc.initWallet({
walletPassword: Buffer.from(state.onboarding.password),
aezeed_passphrase: state.onboarding.passphrase
aezeedPassphrase: state.onboarding.passphrase
? Buffer.from(state.onboarding.passphrase)
: null,
cipherSeedMnemonic: state.onboarding.seed,
recovery_window: recover ? config.lnd.recoveryWindow : 0,
recoveryWindow: recover ? config.lnd.recoveryWindow : 0,
})

// Notify of wallet recovery success.
Expand Down

0 comments on commit 22b92e9

Please sign in to comment.