andrewtoth / BitcoinWallet

Bitcoin wallet in the browser. Send and receive instantly on any web page.
MIT License
3 stars 2 forks source link

Incorrect transaction #4

Open uazure opened 9 years ago

uazure commented 9 years ago

I have a bitcoin url on a site, when I hover mouse over it BW shows total received/spent amount and allows to make payment. When I click 'Send' it makes a request to blockchain.info/pushtx with a raw transaction, which is not processed, but insted I get message from blockchain.info that 20999999999999997 satoshis exceeds maximum possible quantity of Bitcoin. When I check raw transaction that are transferred by the BW to blockchain.info here https://brainwallet.org/#tx it shows me that .out.value is set to "value": "209999999.99999997", but the requested amount in url was just 0.00000210 Here's payment url: bitcoin:16ZPNbkjaVXMmZmwNQR2H4sxNDbvG9raH4?amount=0.00000210&label=Lisova-fca247352f0d68e1b8a777e560f2a6fc03e5450a

uazure commented 9 years ago

Guess it's about incorrect satoshi-to-btc conversion