Skip to content

Commit

Permalink
IPFS Hash Export: 2
Browse files Browse the repository at this point in the history
  • Loading branch information
sshmatrix committed Aug 29, 2023
1 parent 4937a38 commit 21b6d53
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1,022 deletions.
3 changes: 2 additions & 1 deletion components/Preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -791,7 +791,8 @@ const Preview: React.FC<ModalProps> = ({ show, onClose, _ENS_, chain, handlePare
_IPFS = await getIPFSHashFromIPNS(ensContent.decodeContenthash(_Storage).decoded, i)
}
setHashIPFS(_history.version.split('/')[2])
if (Number(_IPFS._sequence) === Number(_history.timestamp.version) - 1) {
/// @dev : REDUNDANT [!!!]
if (Number(_IPFS._sequence) === Number(_history.timestamp.version)) {
setContenthash(_history.contenthash)
setAvatar(_history.avatar)
setAddr(_history.addr)
Expand Down
Loading

0 comments on commit 21b6d53

Please sign in to comment.