mirror of
https://github.com/FlipsideCrypto/dcrd.git
synced 2026-02-06 19:06:51 +00:00
This replaces the tests for CODESEPARATOR in the invalid transaction JSON data to be correct for Decred. It is always invalid to pass over the CODESEPARATOR opcode in Decred as opposed to the Bitcoin behavior where it changes what is hashed for the signature hash calculation. As an aside, the previous tests were invalid anyways since they included a signature that was invalid so the test would've failed for the wrong reason. For all of these tests it's important for them to pass other than the specific failure condition they are intended to trigger. |
||
|---|---|---|
| .. | ||
| LICENSE | ||
| script_invalid.json | ||
| script_valid.json | ||
| tx_invalid.json | ||
| tx_valid.json | ||