tokenly / swapbot

Exchange tokens with an automated machine
3 stars 4 forks source link

BTC Income Forwarding Doesn't Leave Reserve #230

Closed deweller closed 8 years ago

deweller commented 8 years ago

When BTC income forwarding is triggered, the bot should take into consideration the fee before forwarding the amount. Otherwise, the xchain send will fail because there isn't enough BTC for the fee.

It should also reserve a minimum amount so that it doesn't pay a dust transaction as change.