Overtorment / Cashier-BTC

💰 Self-hosted Bitcoin payment gateway (฿)
288 stars 103 forks source link

Mining fee is too low and things crash if amount being sent is less than the tx fee. #4

Closed markasoftware closed 7 years ago

markasoftware commented 7 years ago

The 20,000 satoshi fee is going to make tx confirmation pretty slow today, should be more like 50,000 (or configurable). Additionally, if the amount being transferred to seller wallet is less than the transaction fee, it crashes because 0.0001 - 0.0002 = -0.0001 and bitcore gives an error with negative amounts...

Overtorment commented 7 years ago

PRs welcome