aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Ornbo <george@shapeshed.com>2017-12-15 05:55:18 +0800
committerGeorge Ornbo <george@shapeshed.com>2017-12-15 05:55:18 +0800
commit7bb2a489b27eb862458ff2017c317f0e1187aacc (patch)
tree6ac21f2466148a1347f8eaf07e51c63d744441c4
parente9971d356bf977d2a3f63e50296d7410ade2d075 (diff)
downloaddexon-7bb2a489b27eb862458ff2017c317f0e1187aacc.tar.gz
dexon-7bb2a489b27eb862458ff2017c317f0e1187aacc.tar.zst
dexon-7bb2a489b27eb862458ff2017c317f0e1187aacc.zip
crypto: Fix comment typo
-rw-r--r--crypto/crypto.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/crypto.go b/crypto/crypto.go
index 3a98bfb50..e51726e62 100644
--- a/crypto/crypto.go
+++ b/crypto/crypto.go
@@ -79,7 +79,7 @@ func ToECDSA(d []byte) (*ecdsa.PrivateKey, error) {
return toECDSA(d, true)
}
-// ToECDSAUnsafe blidly converts a binary blob to a private key. It should almost
+// ToECDSAUnsafe blindly converts a binary blob to a private key. It should almost
// never be used unless you are sure the input is valid and want to avoid hitting
// errors due to bad origin encoding (0 prefixes cut off).
func ToECDSAUnsafe(d []byte) *ecdsa.PrivateKey {