diff options
| author | John Newbery <[email protected]> | 2020-06-19 12:19:41 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2020-07-25 15:52:23 +0100 |
| commit | a8865f8b7215a975fd3dd9d97d7f791ac93ea65d (patch) | |
| tree | b689616184dd5d771a6a71e080907c84cc829c65 /src/script/script.cpp | |
| parent | [net processing] Always supply debug message to Misbehaving() (diff) | |
| download | discoin-a8865f8b7215a975fd3dd9d97d7f791ac93ea65d.tar.xz discoin-a8865f8b7215a975fd3dd9d97d7f791ac93ea65d.zip | |
[net processing] Tidy up Misbehaving()
- Make const things const.
- Replace conditional return with assert.
- Don't log the peer's IP address.
- Log the name Misbehaving directly instead of relying on __func__.
Diffstat (limited to 'src/script/script.cpp')
0 files changed, 0 insertions, 0 deletions