From 25a0e8ba0b31d8bd265df0589fe49241a60d0fc2 Mon Sep 17 00:00:00 2001 From: fanquake Date: Fri, 13 Jan 2023 15:29:52 +0000 Subject: [PATCH] Remove configure-time setting of DEFAULT_UPNP Default to false. --- src/mapport.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/mapport.h b/src/mapport.h index 38367aa1cf2..6f55c46f6cc 100644 --- a/src/mapport.h +++ b/src/mapport.h @@ -5,11 +5,7 @@ #ifndef BITCOIN_MAPPORT_H #define BITCOIN_MAPPORT_H -#ifdef USE_UPNP -static constexpr bool DEFAULT_UPNP = USE_UPNP; -#else static constexpr bool DEFAULT_UPNP = false; -#endif // USE_UPNP static constexpr bool DEFAULT_NATPMP = false;