Skip to content

(bug): Tokens showing double after a withdrawal

Summary

I withdrew from offchain to onchain, note my receiver address and the onchain address are the same.. its counting it twice.

Steps to reproduce

  1. Set receiver address to your active metamask address if it isn't already (make a note of the old one for yourself)
  2. Make a withdrawal
  3. See the balance is counted twice

Platform information

Cross platform - web

What is the current bug behavior?

Onchain and reciever address are added together when they are the same address.

What is the expected correct behavior?

The value should be half this.

Relevant logs and/or screenshots

image image

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)