Skip to content

Commit

Permalink
fixup! Enable UPnP and NAT-PMP by default
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed Jun 19, 2024
1 parent ed55bf3 commit f3bbb1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/qt/test/optiontests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

#include <common/args.h>
#include <init.h>
#include <mapport.h>
#include <qt/bitcoin.h>
#include <qt/guiutil.h>
#include <qt/test/optiontests.h>
Expand Down Expand Up @@ -39,7 +40,7 @@ void OptionTests::migrateSettings()
QSettings settings;
settings.setValue("nDatabaseCache", 600);
settings.setValue("nThreadsScriptVerif", 12);
settings.setValue("fUseUPnP", false);
settings.setValue("fUseUPnP", DEFAULT_UPNP);
settings.setValue("fListen", false);
settings.setValue("bPrune", true);
settings.setValue("nPruneSize", 3);
Expand Down

0 comments on commit f3bbb1a

Please sign in to comment.