Skip to content

LP Token estimation in fiat : Why an exception if prices are = 0 ? #297

@redDwarf03

Description

@redDwarf03

In DexTokensProviders.estimateTokenInFiat why have we an exception if prices are = 0
Normally, if tokens from LP have no price, LP Price = 0

  if (fiatValueToken1 == 0 && fiatValueToken2 == 0) {
    throw Exception();
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions