Skip to content

Commit

Permalink
fix dep and minor typo on the demo (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
manolisliolios authored Apr 23, 2024
1 parent 182f483 commit c6ef7ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion documentation/pages/examples.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ module demo::demo {
let name_record = optional.extract();
// Check that name has not expired.
// This check is optional, but it's recommended you perform the verification.
assert!(name_record.has_expired(clock), ENameExpired);
assert!(!name_record.has_expired(clock), ENameExpired);
// Check that the name has a target address set.
assert!(name_record.target_address().is_some(), ENameNotPointingToAddress);

Expand Down
2 changes: 1 addition & 1 deletion documentation/pages/integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Use the SuiNS core package as a dependency to your own package for on-chain reso
<Tabs.Tab>
```sh
[dependencies]
suins = { git = "https://github.com/mystenlabs/suins-contracts/", subdir = "packages/suins", rev = "testnet" }
suins = { git = "https://github.com/mystenlabs/suins-contracts/", subdir = "packages/suins", rev = "releases/testnet/core/v2" }
```
</Tabs.Tab>
</Tabs>
Expand Down

0 comments on commit c6ef7ad

Please sign in to comment.