ajoliat23 / blockBook

0 stars 0 forks source link

GetPrice() Function Returning Null, or Null-Like value #50

Open MSGSmith opened 1 year ago

MSGSmith commented 1 year ago

It was brought to my attention that the converted started returning "Infinity" after implementing the GetPrice() function. According to the link below, I believe the issue is that the method is returning Null or another Null-like value.

Link to a similar issue: https://stackoverflow.com/questions/56543209/why-does-this-calculation-return-infinity

Please let me know if anyone has any ideas about why this may be.

Until this is fixed, I am commenting out the call for GetPrice() and hardcoding the value 35 for proof of functionality. Once GetPrice() returns a number value, we can easily swap it back.