When no wallet is connected, TheGraph's subgraph is used to calculate the TVL. However, to calculate the price of DFP2 the code assumes the dexBalance is available from Ethereum, while it should use the balance from the subgraph as well, resulting in an uncaught exception.
When no wallet is connected, TheGraph's subgraph is used to calculate the TVL. However, to calculate the price of DFP2 the code assumes the dexBalance is available from Ethereum, while it should use the balance from the subgraph as well, resulting in an uncaught exception.
It traced it back to line 525 in
transaction.ts
: