Closed jansako closed 6 years ago
I suppose this is the same 'error handling' situation that needs to be fixed on MM side? https://github.com/lukechilds/hyperdex-bugtracker/issues/6
Yeah, will close this in favour of https://github.com/lukechilds/hyperdex-bugtracker/issues/6. Also updated the title in the other issues to "Improve Error Reporting" so it's more generic.
Thanks for reporting!
And regarding:
Suggestion: different messages for when the UTXO is locked, from a genuine 'you don't have enough funds to execute this'
As you guessed, the message comes direct from mm so we have no way to differentiate. We need mm to have much better error reporting before we can show useful messages.
I have one UTXO, try to get a trade. A trade fails (for whatever reason), but my UTXO is still locked until 'locktime' expires. When I try to executre another trade before that, I get this error:
Suggestion: different messages for when the UTXO is locked, from a genuine 'you don't have enough funds to execute this'