onflow/hybrid-custody

[BUG] borrowOwnedAccount() return value doesn't include MetadataViews.Resolver

sisyphusSmiling opened this issue · 1 comments

Currently, ManagerPrivate.borrowOwnedAccount() should return a restricted reference to an OwnedAccount (formerly ChildAccount) that includesMetadataViews.Resolver.

pub fun borrowOwnedAccount(addr: Address): &{OwnedAccountPrivate, OwnedAccountPublic}?

should be

pub fun borrowOwnedAccount(addr: Address): &{OwnedAccountPrivate, OwnedAccountPublic, MetadataViews.Resolver}?

@sisyphusSmiling can this be closed now?