Skip to content

Conversation

@traylewin
Copy link
Contributor

NOTE: This PR needs tests


const uniqueRequiredAuthsWithSubAuth = await Promise.all(uniqueRequiredAuthsWithSubAuthPromises)
return uniqueRequiredAuthsWithSubAuth
this._requiredAuthorizationsWithSubAuths = uniqueRequiredAuthsWithSubAuth
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Earlier this method used to return [] containing requiredAuthsWithSubAuths but right now it doesn't return anything, This might impact the service - getRequiredAuthorizationsForTransaction method

Copy link
Contributor Author

@traylewin traylewin Oct 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch.
But service (and other code) should use the public, standard interface Transaction.requiredAuthorizations() - that's what it is there for. Please fix service to use the correct property.

@dhruv-kumar-jha
Copy link
Collaborator

@traylewin Do we need this PR or should we close this?

@traylewin traylewin requested a review from WarrickFitz October 24, 2022 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants