Bitcoin-ABC / Bitcoin-ABC/bitcoin-abc
mandatory-script-verify-flag-failed error when I enable -ecash flag
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 788
- PR merge metrics
- No merged PRs in 30d
Description
I was using bitcoincash abc node fine before.
I create transaction manually, sign, and send on the network.
But my signed transaction is not accepted from wallet with ecash enabled latest release.
Here are some things I considered, checked.
1) I turned on `-ecash` with latest release
2) changed amount unit to match. x1000000 for my input and output values.
3) checked that new `ecash` vout addresses are correctly converted to legacy address as before. I insert legacy vout address in transaction.
I get
`mandatory-script-verify-flag-failed (Signature must be zero for failed CHECK(MULTI)SIG operation)`
Is XEC change some internal logic when I enable `ecash`?
Please advice.
Contributor guide
Research direction
No source file, test, or entry point is named. Reproduce the manually created, signed transaction with -ecash enabled on the latest release, compare it with the non-ecash case, and determine whether the mandatory-script-verify error is expected to be resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100