Merge pull request #29 from leto/2way_replay_protection
Use a valid shift for SCRIPT_ENABLE_SIGHASH_FORKID
This commit is contained in:
commit
b1e4e22d12
|
@ -89,7 +89,7 @@ enum
|
||||||
SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY = (1U << 9),
|
SCRIPT_VERIFY_CHECKLOCKTIMEVERIFY = (1U << 9),
|
||||||
|
|
||||||
// Do we accept signature using SIGHASH_FORKID
|
// 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);
|
uint256 SignatureHash(const CScript &scriptCode, const CTransaction& txTo, unsigned int nIn, int nHashType);
|
||||||
|
|
Loading…
Reference in New Issue