diff options
author | John Newbery <john@johnnewbery.com> | 2019-04-28 15:32:34 -0500 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2019-10-29 15:46:45 -0400 |
commit | 1a37de4b3174d19a6d8691ae07e92b32fdfaef11 (patch) | |
tree | c65d8892bfc4178f6bfcb82cbe99b450cbc12597 /src/consensus | |
parent | 067981e49246822421a7bcc720491427e1dba8a3 (diff) | |
download | bitcoin-1a37de4b3174d19a6d8691ae07e92b32fdfaef11.tar.xz |
[validation] Remove error() calls from Invalid() calls
This is in preparation for the next commit, which removes the useless
`ret` parameter from ValidationState::Invalid().
error() is simply a convenience wrapper that calls LogPrintf and returns
false. Call LogPrintf explicitly and substitute the error() call for a
false bool literal.
Diffstat (limited to 'src/consensus')
0 files changed, 0 insertions, 0 deletions