From cb6485bb6075179dc2521b8e82db961deae74faf Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Sat, 21 May 2022 20:31:09 +0200 Subject: add proof verification to sigsum-debug --- internal/fmtio/fmtio.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal') diff --git a/internal/fmtio/fmtio.go b/internal/fmtio/fmtio.go index 84b1265..9d86917 100644 --- a/internal/fmtio/fmtio.go +++ b/internal/fmtio/fmtio.go @@ -55,7 +55,7 @@ func PublicKeyFromHex(s string) (pub types.PublicKey, err error) { return } -func KeyHashFromHex(s string) (h merkle.Hash, err error) { +func HashFromHex(s string) (h merkle.Hash, err error) { b, err := hex.Deserialize(s) if err != nil { return h, err -- cgit v1.2.3