diff options
author | Jesse Cohen <jc@jc.lol> | 2018-07-09 15:02:32 -0400 |
---|---|---|
committer | Jesse Cohen <jc@jc.lol> | 2018-07-09 21:09:58 -0400 |
commit | 3339ba28e95aaaa355b7d33a69cffca7ab29b3fd (patch) | |
tree | b6a935e4bfb14659f952c42da2bb00b5ce4d6998 /src/test | |
parent | 6690a28606d6ada23355de7d9a9878f841b21e67 (diff) |
Make g_enable_bip61 a member variable of PeerLogicValidation
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test_bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index e9814edc23..c4878ce462 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -99,7 +99,7 @@ TestingSetup::TestingSetup(const std::string& chainName) : BasicTestingSetup(cha threadGroup.create_thread(&ThreadScriptCheck); g_connman = std::unique_ptr<CConnman>(new CConnman(0x1337, 0x1337)); // Deterministic randomness for tests. connman = g_connman.get(); - peerLogic.reset(new PeerLogicValidation(connman, scheduler)); + peerLogic.reset(new PeerLogicValidation(connman, scheduler, /*enable_bip61=*/true)); } TestingSetup::~TestingSetup() |