diff --git a/src/network/connection.h b/src/network/connection.h index f60c6625..556a40a1 100644 --- a/src/network/connection.h +++ b/src/network/connection.h @@ -865,7 +865,8 @@ struct ConnectionEvent bool timeout; Address address; - ConnectionEvent(): type(CONNEVENT_NONE) {} + ConnectionEvent(): type(CONNEVENT_NONE), peer_id(0), + timeout(false) {} std::string describe() {