Skip to content

Commit 82fe6e9

Browse files
committed
lint
1 parent e8f6da8 commit 82fe6e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

local/blockchain.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -840,7 +840,7 @@ func newWallet(
840840
if err != nil {
841841
return nil, err
842842
}
843-
if privateKey, err = secp256k1.ToPrivateKey([]byte(walletPrivateKeyBytes)); err != nil {
843+
if privateKey, err = secp256k1.ToPrivateKey(walletPrivateKeyBytes); err != nil {
844844
return nil, err
845845
}
846846
}

0 commit comments

Comments
 (0)