diff options
Fix eth resolution
utils.formatBalance was returning rounded ether, was not useful for displaying account balances.
Now returns four decimal points, and is easily configurable for more, with passing tests.
Spoiler alert: Don't you dare divide bignumber wei. Bignumber does not have decimals. Keep it as wei, format it as ether.
Diffstat (limited to 'ui/app/unlock.js')
0 files changed, 0 insertions, 0 deletions