Compare digests item-by-item (#869)

* compare digest item-by-item

* update comment
This commit is contained in:
Svyatoslav Nikolsky
2018-10-05 15:16:22 +03:00
committed by Gav Wood
parent 4d18c50e67
commit 187c232629
3 changed files with 32 additions and 7 deletions
@@ -108,7 +108,7 @@ impl<Hash, AuthorityId> DigestItem<Hash, AuthorityId> {
}
}
impl<Hash: Member, AuthorityId: Member> traits::DigestItem for DigestItem<Hash, AuthorityId> {
impl<Hash: Codec + Member, AuthorityId: Codec + Member> traits::DigestItem for DigestItem<Hash, AuthorityId> {
type Hash = Hash;
type AuthorityId = AuthorityId;