diff --git a/src/init.cpp b/src/init.cpp index ce666534ae..89418bc1f7 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1301,6 +1301,7 @@ bool AppInitMain(NodeContext& node, interfaces::BlockAndHeaderTipInfo* tip_info) } for (int n = 0; n < NET_MAX; n++) { enum Network net = (enum Network)n; + assert(IsReachable(net)); if (!nets.count(net)) SetReachable(net, false); }