diff options
author | João Barbosa <joao.paulo.barbosa@gmail.com> | 2021-04-17 01:49:57 +0100 |
---|---|---|
committer | João Barbosa <joao.paulo.barbosa@gmail.com> | 2021-04-18 21:10:47 +0100 |
commit | c5a470eee1ac864b7c02b6a1669327b68411d806 (patch) | |
tree | dc449a601701f0fcc8f92cf20351a2fb74ab1695 /src/wallet/coincontrol.cpp | |
parent | 585cbe22575306c05b156ea90faa9caa1add4c87 (diff) | |
download | bitcoin-c5a470eee1ac864b7c02b6a1669327b68411d806.tar.xz |
refactor: Drop CCoinControl::SetNull
Diffstat (limited to 'src/wallet/coincontrol.cpp')
-rw-r--r-- | src/wallet/coincontrol.cpp | 16 |
1 files changed, 1 insertions, 15 deletions
diff --git a/src/wallet/coincontrol.cpp b/src/wallet/coincontrol.cpp index 720877ead0..598c5f082c 100644 --- a/src/wallet/coincontrol.cpp +++ b/src/wallet/coincontrol.cpp @@ -6,21 +6,7 @@ #include <util/system.h> -void CCoinControl::SetNull() +CCoinControl::CCoinControl() { - destChange = CNoDestination(); - m_change_type.reset(); - m_add_inputs = true; - fAllowOtherInputs = false; - fAllowWatchOnly = false; m_avoid_partial_spends = gArgs.GetBoolArg("-avoidpartialspends", DEFAULT_AVOIDPARTIALSPENDS); - m_avoid_address_reuse = false; - setSelected.clear(); - m_feerate.reset(); - fOverrideFeeRate = false; - m_confirm_target.reset(); - m_signal_bip125_rbf.reset(); - m_fee_mode = FeeEstimateMode::UNSET; - m_min_depth = DEFAULT_MIN_DEPTH; - m_max_depth = DEFAULT_MAX_DEPTH; } |