diff options
| author | John Newbery <[email protected]> | 2019-04-28 15:32:34 -0500 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2019-10-29 15:46:45 -0400 |
| commit | 1a37de4b3174d19a6d8691ae07e92b32fdfaef11 (patch) | |
| tree | c65d8892bfc4178f6bfcb82cbe99b450cbc12597 /src/httpserver.cpp | |
| parent | [validation] Tidy Up ValidationResult class (diff) | |
| download | discoin-1a37de4b3174d19a6d8691ae07e92b32fdfaef11.tar.xz discoin-1a37de4b3174d19a6d8691ae07e92b32fdfaef11.zip | |
[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/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions