Skip to content

Commit

Permalink
fix unknown variable issue
Browse files Browse the repository at this point in the history
  • Loading branch information
codemaestro64 committed May 24, 2020
1 parent 4303ed6 commit e0d2b23
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions multiwallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -407,14 +407,12 @@ func (mw *MultiWallet) saveNewWallet(wallet *Wallet, setupWallet func() error) (
return nil, errors.New(ErrExist)
}


// check if wallet with same seed already exists
err = mw.checkForSeedClash(encryptedSeed)
err = mw.checkForSeedClash(wallet.EncryptedSeed)
if err != nil {
return nil, err
}


if mw.IsConnectedToDecredNetwork() {
mw.CancelSync()
defer mw.SpvSync()
Expand Down

0 comments on commit e0d2b23

Please sign in to comment.