diff options
| author | John Newbery <[email protected]> | 2020-06-15 11:33:14 -0400 |
|---|---|---|
| committer | John Newbery <[email protected]> | 2020-07-11 07:13:05 +0100 |
| commit | 655b1957470c39bcab64917747c9f467444bd809 (patch) | |
| tree | 4147eb276e4789b5938ba89a325fe9e037bd046e /src/script/script_error.cpp | |
| parent | [net processing] Only call MaybeDiscourageAndDisconnect from SendMessages (diff) | |
| download | discoin-655b1957470c39bcab64917747c9f467444bd809.tar.xz discoin-655b1957470c39bcab64917747c9f467444bd809.zip | |
[net processing] Continue SendMessages processing if not disconnecting peer
If we don't disconnect a peer in MaybeDiscourageAndDisconnect because it
has NOBAN permissions or it's a manual connection, continue SendMessages
processing rather than exiting early.
The previous behaviour was that we'd miss the SendMessages processing on
this iteration of the MessageHandler loop. That's not a problem since
SendMessages() would just be called again on the next iteration, but it
was slightly inefficient and confusing.
Diffstat (limited to 'src/script/script_error.cpp')
0 files changed, 0 insertions, 0 deletions