From 44b6d75da73477c3571a30be4f826f0f13482dd1 Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Fri, 17 Mar 2023 13:19:40 +0100 Subject: Remove dead code --- internal/utils/utils.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'internal') diff --git a/internal/utils/utils.go b/internal/utils/utils.go index 7f5b1bc..5b27868 100644 --- a/internal/utils/utils.go +++ b/internal/utils/utils.go @@ -5,7 +5,6 @@ import ( "fmt" "os" - "git.cs.kau.se/rasmoste/ct-sans/internal/merkle" "gitlab.torproject.org/rgdd/ct/pkg/metadata" ) @@ -46,11 +45,3 @@ func Proof(hashes [][]byte) (p [][sha256.Size]byte) { } return } - -// LeafHashes formats a list of data as leaf hashes -func LeafHashes(data [][]byte) (lh [][sha256.Size]byte) { - for _, d := range data { - lh = append(lh, merkle.HashLeafNode(d)) - } - return -} -- cgit v1.2.3