aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/http_request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fuzz/http_request.cpp')
-rw-r--r--src/test/fuzz/http_request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/http_request.cpp b/src/test/fuzz/http_request.cpp
index 66a1ff945f..9928c4a1ab 100644
--- a/src/test/fuzz/http_request.cpp
+++ b/src/test/fuzz/http_request.cpp
@@ -59,7 +59,7 @@ FUZZ_TARGET(http_request)
const std::string body = http_request.ReadBody();
assert(body.empty());
const CService service = http_request.GetPeer();
- assert(service.ToString() == "[::]:0");
+ assert(service.ToStringAddrPort() == "[::]:0");
evbuffer_free(evbuf);
evhttp_request_free(evreq);