diff --git a/src/dummywallet.cpp b/src/dummywallet.cpp index f5141e496..eeec6dec2 100644 --- a/src/dummywallet.cpp +++ b/src/dummywallet.cpp @@ -23,11 +23,33 @@ public: void DummyWalletInit::AddWalletOptions() const { - std::vector opts = {"-addresstype", "-changetype", "-disablewallet", "-discardfee=", "-fallbackfee=", - "-keypool=", "-maxtxfee=", "-mintxfee=", "-paytxfee=", "-rescan", "-salvagewallet", "-spendzeroconfchange", "-txconfirmtarget=", - "-upgradewallet", "-wallet=", "-walletbroadcast", "-walletdir=", "-walletnotify=", "-walletrbf", "-zapwallettxes=", - "-dblogsize=", "-flushwallet", "-privdb", "-walletrejectlongchains"}; - gArgs.AddHiddenArgs(opts); + gArgs.AddHiddenArgs({ + "-addresstype", + "-avoidpartialspends", + "-changetype", + "-disablewallet", + "-discardfee=", + "-fallbackfee=", + "-keypool=", + "-maxtxfee=", + "-mintxfee=", + "-paytxfee=", + "-rescan", + "-salvagewallet", + "-spendzeroconfchange", + "-txconfirmtarget=", + "-upgradewallet", + "-wallet=", + "-walletbroadcast", + "-walletdir=", + "-walletnotify=", + "-walletrbf", + "-zapwallettxes=", + "-dblogsize=", + "-flushwallet", + "-privdb", + "-walletrejectlongchains", + }); } const WalletInitInterface& g_wallet_init_interface = DummyWalletInit();