diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-04-20 09:56:22 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-04-20 09:56:22 +0800 |
commit | d6ab6bb4fa506c5fb9479b6e534ab74632c1b819 (patch) | |
tree | 752bba009f4a31636d74621431cda51495741693 /gulpfile.js | |
parent | f79601ee58a07ec6275d4588845578795f550d84 (diff) | |
download | tangerine-wallet-browser-d6ab6bb4fa506c5fb9479b6e534ab74632c1b819.tar tangerine-wallet-browser-d6ab6bb4fa506c5fb9479b6e534ab74632c1b819.tar.gz tangerine-wallet-browser-d6ab6bb4fa506c5fb9479b6e534ab74632c1b819.tar.bz2 tangerine-wallet-browser-d6ab6bb4fa506c5fb9479b6e534ab74632c1b819.tar.lz tangerine-wallet-browser-d6ab6bb4fa506c5fb9479b6e534ab74632c1b819.tar.xz tangerine-wallet-browser-d6ab6bb4fa506c5fb9479b6e534ab74632c1b819.tar.zst tangerine-wallet-browser-d6ab6bb4fa506c5fb9479b6e534ab74632c1b819.zip |
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.
Diffstat (limited to 'gulpfile.js')
0 files changed, 0 insertions, 0 deletions