-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GRS swap fails #460
Comments
@cipig Thanks for making me aware of this issue. @artemii235 Transaction hashes are sha256 digests in Groestlcoin instead of sha256d digests as in Bitcoin. @jl777 integrated GRS a while ago in Supernet: jl777@632047f |
Thank you for the information @gruve-p - we will look into this soon and keep you posted. |
Any updates on this @artemii235 ? |
@gruve-p Thanks for following up! I added this issue to my next week's task list. |
@cipig Could you please try to withdraw and swap GRS using the https://github.com/KomodoPlatform/atomicDEX-API/tree/mm2.1-grs-fix branch? |
Tried a swap, but doesn't work as expected. It started and maker sent MakerPayment:
but the tx hash is wrong and he can't find it
in the debug.log of groestlcoind there is this entry:
so mm2 thinks the tx hash is |
Thanks for testing! GRS also uses single sha256 for transaction hash, which makes things a bit more complicated for MM2. I'm going this fix this now. |
@cipig Could you recheck it 1 more time using the same branch, please? |
Worked perfect this time. See https://github.com/KomodoPlatform/coins/blob/master/swaps/GRS-KMD.md for the swap transactions. |
@cipig Could you please test it a bit more? There are quite many minor code changes in various places so it's worth checking different swap scenarios: both taker and maker sides, refunds, recovery of stuck swaps, etc. |
sure, i will do more tests Refund worked, i could refund the swap that failed before your last fix
|
I have merged the PR with a fix to mm2.1. It will be included in the upcoming GUIs release. |
sendrawtransaction
fails withmandatory-script-verify-flag-failed (Signature must be zero for failed CHECK(MULTI)SIG operation) (code 16)
The text was updated successfully, but these errors were encountered: