aboutsummaryrefslogtreecommitdiff
path: root/src/qt/test/wallettests.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <dev@jonasschnelli.ch>2017-12-12 10:32:50 -1000
committerJonas Schnelli <dev@jonasschnelli.ch>2018-02-25 09:33:46 +0800
commit8222e057fe60934a57b1d8226b0e1bd071f8dac2 (patch)
tree8439061439ed2cb0ee480b8246243ee91f4f70e9 /src/qt/test/wallettests.cpp
parent67447ba06057b8e83f962c82491d2fe6c5211f50 (diff)
Disable wallet fallbackfee by default on mainnet
Diffstat (limited to 'src/qt/test/wallettests.cpp')
-rw-r--r--src/qt/test/wallettests.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qt/test/wallettests.cpp b/src/qt/test/wallettests.cpp
index cd49292138..0dc557e3a9 100644
--- a/src/qt/test/wallettests.cpp
+++ b/src/qt/test/wallettests.cpp
@@ -158,6 +158,8 @@ void TestGUI()
test.CreateAndProcessBlock({}, GetScriptForRawPubKey(test.coinbaseKey.GetPubKey()));
}
bitdb.MakeMock();
+ g_wallet_allow_fallback_fee = true;
+
std::unique_ptr<CWalletDBWrapper> dbw(new CWalletDBWrapper(&bitdb, "wallet_test.dat"));
CWallet wallet(std::move(dbw));
bool firstRun;