aboutsummaryrefslogtreecommitdiffstats
path: root/accounts/scwallet
diff options
context:
space:
mode:
Diffstat (limited to 'accounts/scwallet')
-rw-r--r--accounts/scwallet/securechannel.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/accounts/scwallet/securechannel.go b/accounts/scwallet/securechannel.go
index 7d57c4df9..3c9732198 100644
--- a/accounts/scwallet/securechannel.go
+++ b/accounts/scwallet/securechannel.go
@@ -88,7 +88,7 @@ func NewSecureChannelSession(card *pcsc.Card, keyData []byte) (*SecureChannelSes
// Pair establishes a new pairing with the smartcard.
func (s *SecureChannelSession) Pair(pairingPassword []byte) error {
- secretHash := pbkdf2.Key(norm.NFKD.Bytes([]byte(pairingPassword)), norm.NFKD.Bytes([]byte(pairingSalt)), 50000, 32, sha256.New)
+ secretHash := pbkdf2.Key(norm.NFKD.Bytes(pairingPassword), norm.NFKD.Bytes([]byte(pairingSalt)), 50000, 32, sha256.New)
challenge := make([]byte, 32)
if _, err := rand.Read(challenge); err != nil {