aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.cpp
diff options
context:
space:
mode:
authorJohn Newbery <[email protected]>2017-11-16 11:52:45 -0500
committerJohn Newbery <[email protected]>2017-11-16 12:05:27 -0500
commit25fd6e2c202c113a2413ba9df76fe0ea0e4cbe5c (patch)
treed6fc572fef926c3bdfa74365ebf4bd0c9e92da49 /src/httpserver.cpp
parent[tests] tidy up BaseNode in sendheaders.py (diff)
downloaddiscoin-25fd6e2c202c113a2413ba9df76fe0ea0e4cbe5c.tar.xz
discoin-25fd6e2c202c113a2413ba9df76fe0ea0e4cbe5c.zip
[tests] refactor check_last_announcement() in sendheaders.py
All calls of check_last_announcement() asserted that the return value was True. Just assert inside the function instead. This gives better debug information if the assert fails. Also only check the contents of the most recent inv and header if check_last_announcement() is called with the relevant argument.
Diffstat (limited to 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions