From 7a87c65abd5d6ffd8520d66d39e22694e3b2398d Mon Sep 17 00:00:00 2001 From: noot <36753753+noot@users.noreply.github.com> Date: Thu, 13 May 2021 10:32:37 -0400 Subject: [PATCH] Update dot/types/digest.go Co-authored-by: Arijit Das --- dot/types/digest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dot/types/digest.go b/dot/types/digest.go index fc25e33a70..b2e66f716a 100644 --- a/dot/types/digest.go +++ b/dot/types/digest.go @@ -36,7 +36,7 @@ func NewEmptyDigest() Digest { // NewDigest returns a new Digest from the given DigestItems func NewDigest(items ...DigestItem) Digest { - return Digest(items) + return items } // Encode returns the SCALE encoded digest