Skip to content

Commit 86d6caa

Browse files
committed
Fix linter error.
1 parent fd47aa3 commit 86d6caa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/core.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ func (n *OpenBazaarNode) UnlockWallet(unlockWallet ManageWalletRequest) (bool, b
440440
// Checks password, fails when mnemonic in not encrypted!
441441
decryptedMnemonic, err := DecryptMnemonic(mnemonic, unlockWallet.WalletPassword)
442442
if err != nil {
443-
return n.WalletLocked, isMnemonicEncrypted, err
443+
return n.WalletLocked, isMnemonicEncrypted, err
444444
}
445445

446446
// Time lock feature set up.
@@ -463,12 +463,12 @@ func (n *OpenBazaarNode) UnlockWallet(unlockWallet ManageWalletRequest) (bool, b
463463
if !unlockWallet.SkipChangeMnemonicState {
464464
err = n.Datastore.Config().UpdateMnemonic(decryptedMnemonic, false)
465465
if err != nil {
466-
return n.WalletLocked, isMnemonicEncrypted, err
466+
return n.WalletLocked, isMnemonicEncrypted, err
467467
}
468468
}
469469

470470
n.WalletLocked = false
471-
return n.WalletLocked, isMnemonicEncrypted, nil
471+
return n.WalletLocked, isMnemonicEncrypted, nil
472472
}
473473

474474
func (n *OpenBazaarNode) LockWallet(lockWallet ManageWalletRequest) (bool, bool, error) {

0 commit comments

Comments
 (0)