Skip to content

Commit

Permalink
remove incorrect entitlement usage
Browse files Browse the repository at this point in the history
  • Loading branch information
austinkline committed Apr 22, 2024
1 parent 83b7571 commit 0c8ef75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contracts/HybridCustody.cdc
Original file line number Diff line number Diff line change
Expand Up @@ -1100,9 +1100,9 @@ access(all) contract HybridCustody {

/// Retrieves a reference to the ChildAccount associated with the given parent account if one exists.
///
access(Owner) fun borrowChildAccount(parent: Address): auth(Capabilities) &ChildAccount? {
access(Owner) fun borrowChildAccount(parent: Address): auth(Child) &ChildAccount? {
let identifier = HybridCustody.getChildAccountIdentifier(parent)
return self.borrowAccount().storage.borrow<auth(Capabilities) &ChildAccount>(from: StoragePath(identifier: identifier)!)
return self.borrowAccount().storage.borrow<auth(Child) &ChildAccount>(from: StoragePath(identifier: identifier)!)
}

/// Sets the CapabilityFactory Manager for the specified parent in the associated ChildAccount.
Expand Down

0 comments on commit 0c8ef75

Please sign in to comment.