aboutsummaryrefslogtreecommitdiff
path: root/src/key.cpp
diff options
context:
space:
mode:
authorJim Posen <jimpo@coinbase.com>2017-09-27 19:49:18 -0700
committerJim Posen <jimpo@coinbase.com>2017-09-27 19:49:18 -0700
commit5ddf56045ad65162c7cd5c757c81d9446299a5aa (patch)
tree858a75ffe10592458f7f15608c1a3289da97faf6 /src/key.cpp
parentef8340d25f7c5dd5682bdecea97ce84cfce1493c (diff)
downloadbitcoin-5ddf56045ad65162c7cd5c757c81d9446299a5aa.tar.xz
script: Change SignatureHash input index check to an assert.
In the SignatureHash function, the input index must refer to a valid index. This is not enforced equally in the segwit/non-segwit branches and should be an assertion rather than returning a error hash.
Diffstat (limited to 'src/key.cpp')
0 files changed, 0 insertions, 0 deletions