Coinbase and online retailer Overstock.com eliminated a serious bug that allowed their customers to pay for purchases in Bitcoin Cash instead of Bitcoin. This is reported by KrebsOnSecurity.
Bug was noticed by JB Snyder in early January. When buying goods from Overstock for bitcoins, the site accepted payment from Bitcoin Cash, despite the fact that the price of BCH is approximately 15% of the bitcoin price.
To verify this information, KrebsOnSecurity author Brian Krebs bought a set of three outdoor solar lamps worth $ 78.27, for which Overstock billed 0.00475574 BTC.
Solar Lamps Bill
Going to Coinbase, Krebs sent 0.00475574 Bitcoin Cash instead of bitcoin. The site replied that the payment was made. A few seconds later Overstock sent the message of a successful purchase. Thus, Krebs instead of $ 78 paid only $ 12. When the journalist canceled the order, to his surprise the system returned bitcoins, and not Bitcoin Cash.
Over the solution of the problem, Coinbase and Overstock worked together for several hours. According to representatives of Coinbase, the problem was caused by the fact that Overstock incorrectly used the return values in the API for integration with trading partners. At the moment, this bug has already been fixed.