1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 02:58:09 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
Zac Mitton
2ce9f1a776 correctly displaying small balances with tests 2016-05-25 18:29:03 -07:00
Dan Finlay
47540ad0b3 Allow empty recipient fields on tx 2016-05-19 16:14:16 -07:00
Dan Finlay
60270de53d Add full precision to send tx value field. 2016-05-19 14:46:50 -07:00
Dan Finlay
22a77b8041 Increase send value precision 2016-05-19 14:21:35 -07:00
Dan Finlay
c8deb355f7 Add address capitalization checksumming 2016-05-19 12:06:45 -07:00
kumavis
6ae0a90d7b ui - redesign - ether amount component 2016-05-18 13:41:08 -07:00
Dan Finlay
7276e80816 Removed logs 2016-04-19 18:58:34 -07:00
Dan Finlay
d6ab6bb4fa Fix floating point input bug
When sending a transaction, we were converting to BN before handling decimals, which meant we were losing any precision past a decimal point, since BN does not handle decimals!

Put this numeric normalization into a utility function with a test around it and got it working.
2016-04-19 18:56:22 -07:00
Dan Finlay
33dc68535d Add leading zero to account balances 2016-04-15 09:42:20 -07:00
kumavis
cef1f2a65f ui - util - fixes#110 formatBalance 2016-04-14 21:19:08 -07:00
Dan Finlay
8527d051b0 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.
2016-04-14 13:20:19 -07:00
Dan Finlay
d814a45dff Moved UI into repo with its own dependency stack 2016-04-13 15:28:44 -07:00