Skip to content

Commit 0a800ca

Browse files
authored
Merge pull request #373 from AdExNetwork/ipfs-derives-hash
IPFS derives hash
2 parents 653c283 + 44eb38f commit 0a800ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

primitives/src/ipfs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const URL_PREFIX: &str = "ipfs://";
77

88
pub use cid::{Cid, Error};
99

10-
#[derive(Clone, Serialize, Deserialize, Eq, PartialEq)]
10+
#[derive(Hash, Clone, Serialize, Deserialize, Eq, PartialEq)]
1111
#[serde(try_from = "String", into = "String")]
1212
pub struct IPFS(pub cid::Cid);
1313

0 commit comments

Comments
 (0)