Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Fix: getPriceFull forwarded pricing type #172

Closed
wants to merge 1 commit into from
Closed

Conversation

kasperpawlowski
Copy link
Collaborator

@kasperpawlowski kasperpawlowski commented Nov 25, 2022

if given asset has PRICINGTYPE__FORWARDED, the resolvePricingConfig function returns the pricingType of the asset the pricing is forwarded to. hence, the pricingType must never be equal to PRICINGTYPE__FORWARDED after the pricing config is resolved.

hoytech added a commit that referenced this pull request Feb 16, 2023
This fix is from Kasper's #172 pull request. This removes an if condition that will never be true.

if given asset has PRICINGTYPE__FORWARDED, the resolvePricingConfig function returns the pricingType of the asset the pricing is forwarded to. hence, the pricingType must never be equal to PRICINGTYPE__FORWARDED after the pricing config is resolved.
@hoytech
Copy link
Contributor

hoytech commented Feb 16, 2023

I've merged this change into the following pull request to prevent merge conflicts:

#173

@hoytech hoytech closed this Feb 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants