aboutsummaryrefslogtreecommitdiff
path: root/internal/fmtio/fmtio.go
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@mullvad.net>2022-05-21 20:31:09 +0200
committerRasmus Dahlberg <rasmus@mullvad.net>2022-06-21 19:46:54 +0200
commitcb6485bb6075179dc2521b8e82db961deae74faf (patch)
treebf05c3d83686cc056b3ef41b90a37a07b4269833 /internal/fmtio/fmtio.go
parentbbd6591c4f87b3f2c3e870b6418c6234d90a82e6 (diff)
add proof verification to sigsum-debug
Diffstat (limited to 'internal/fmtio/fmtio.go')
-rw-r--r--internal/fmtio/fmtio.go2
1 files changed, 1 insertions, 1 deletions
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