Skip to content

Commit

Permalink
Update dot/types/digest.go
Browse files Browse the repository at this point in the history
Co-authored-by: Arijit Das <[email protected]>
  • Loading branch information
noot and arijitAD authored May 13, 2021
1 parent 273bcfc commit 7a87c65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dot/types/digest.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a87c65

Please sign in to comment.