Skip to content

Commit

Permalink
Add some comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
arik-so committed Mar 8, 2024
1 parent 02b88f9 commit 8b09432
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/inscriptions/inscription.rs
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ impl Inscription {
str::from_utf8(self.metaprotocol.as_ref()?).ok()
}

/// Returns a deduplicated list of parent inscription IDs the inscription claims to have.
pub(crate) fn parents(&self) -> Vec<InscriptionId> {
let mut unique_parents: HashSet<Vec<u8>> = HashSet::with_capacity(self.parents.len());
self
Expand Down

0 comments on commit 8b09432

Please sign in to comment.