blocknetdx / blocknet

Official Blocknet cryptocurrency wallet
https://www.blocknet.org
MIT License
214 stars 94 forks source link

[bug] not enough deposit fees #579

Open rikublock opened 3 years ago

rikublock commented 3 years ago

Attempting to take an order can result in the following error: not enough inputs to cover p2sh deposit fees

As a result the order is canceled by the taker and rolled back.

Edit: It seems the code currently contains certain static fee assumptions. For instance, if the maker has significantly lower fee settings in their xbridge.conf compared to the taker, it will result in the above error.

This is very likely to affect the dynamic fee PR.