diff options
author | John Newbery <john@johnnewbery.com> | 2020-07-09 07:52:48 +0100 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-02-18 09:43:13 +0000 |
commit | 3e68efa615968e0c9d68a7f197c7852478f6be78 (patch) | |
tree | 301599bfff85fb0e1a83b2d5dfccc46180e894cd /test/functional/feature_shutdown.py | |
parent | d21d2b264cd77c027a06f68289cf4c3f177d1ed0 (diff) |
[net] Move checks from GetLocalAddrForPeer to caller
GetLocalAddrForPeer() is only called in one place. The checks inside that
function make more sense to be carried out be the caller:
- fSuccessfullyConnected is already checked at the top of
SendMessages(), so must be true when we call GetLocalAddrForPeer()
- fListen can go into the conditional before GetLocalAddrForPeer() is
called.
Diffstat (limited to 'test/functional/feature_shutdown.py')
0 files changed, 0 insertions, 0 deletions