Merge pull request #29 from leto/2way_replay_protection

Use a valid shift for SCRIPT_ENABLE_SIGHASH_FORKID
This commit is contained in:
Rhett Creighton 2018-01-05 21:44:13 -06:00 committed by GitHub
commit b1e4e22d12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ enum
SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY = (1U << 9),
// Do we accept signature using SIGHASH_FORKID
SCRIPT_ENABLE_SIGHASH_FORKID = (1U << 42),
SCRIPT_ENABLE_SIGHASH_FORKID = (1U << 10),
};
uint256 SignatureHash(const CScript &scriptCode, const CTransaction& txTo, unsigned int nIn, int nHashType);