Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
sg495 committed Dec 18, 2023
2 parents 9806e2c + 99afd76 commit 5395b16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multiformats/cid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -445,7 +445,7 @@ def set(self, *,
else:
codec = self.codec
if version is not None and version != self.version:
_CID_validate_version(version, base, codec, hashfun)
version = _CID_validate_version(version, base, codec, hashfun)
else:
version = self.version
return CID._new_instance(CID, base, version, codec, hashfun, digest)
Expand Down

0 comments on commit 5395b16

Please sign in to comment.