aboutsummaryrefslogtreecommitdiff
path: root/src/script/script_error.cpp
diff options
context:
space:
mode:
authorAmiti Uttarwar <[email protected]>2020-08-24 17:00:05 -0700
committerAmiti Uttarwar <[email protected]>2020-09-04 14:42:30 -0700
commit125c0381266e0e05a408f8e1818501ab73d29110 (patch)
treeb45dc5bfd952bf948e55233fba305541e13f5845 /src/script/script_error.cpp
parent[p2p] Check for nullptr before dereferencing pointer (diff)
downloaddiscoin-125c0381266e0e05a408f8e1818501ab73d29110.tar.xz
discoin-125c0381266e0e05a408f8e1818501ab73d29110.zip
[p2p] Remove dead code
The else clause is dead code because the only way to not enter the if branch is if TX_WITNESS_STRIPPED is true. In that case, it would not have a witness to match the `tx.HasWitness()` else condition. Co-authored-by: Adam Jonas <[email protected]> Co-authored-by: John Newbery <[email protected]>
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions