diff options
Diffstat (limited to 'internal/fmtio')
-rw-r--r-- | internal/fmtio/fmtio.go | 2 |
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 |