diff options
| author | John Newbery <[email protected]> | 2020-06-19 12:05:31 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2020-07-25 15:50:34 +0100 |
| commit | d15b3afb4cd1b00ad698e6dd19c5861a53e01c42 (patch) | |
| tree | 4db0e8f9a45eb581285dc699d0e4695c54968202 /src/script/script_error.cpp | |
| parent | [net processing] Fixup MaybeDiscourageAndDisconnect() style (diff) | |
| download | discoin-d15b3afb4cd1b00ad698e6dd19c5861a53e01c42.tar.xz discoin-d15b3afb4cd1b00ad698e6dd19c5861a53e01c42.zip | |
[net processing] Always supply debug message to Misbehaving()
Misbehaving() could optionally take a debug string for printing to the
log file. Make this mandatory and always provide the string.
A couple of additional minor changes:
- remove the unnecessary forward declaration of Misbehaving()
- don't include the nodeid or newline in the passed debug message.
Misbehaving() adds these itself.
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions