From 4157d8e07abed02ff4b3dd5575e70252331b2d67 Mon Sep 17 00:00:00 2001 From: Gibheer Date: Sun, 15 Mar 2015 20:06:09 +0100 Subject: make raw private key public --- ecdsa.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ecdsa.go') diff --git a/ecdsa.go b/ecdsa.go index 42c5cf1..2a5279e 100644 --- a/ecdsa.go +++ b/ecdsa.go @@ -63,7 +63,7 @@ func (pr EcdsaPrivateKey) Sign(message []byte, hash crypto.Hash) ([]byte, error) } // get the private key -func (pr EcdsaPrivateKey) privateKey() crypto.PrivateKey { +func (pr EcdsaPrivateKey) PrivateKey() crypto.PrivateKey { return pr.private_key } -- cgit v1.2.3-70-g09d2