aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/rpc
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-05-11 16:02:15 +0100
committerfanquake <fanquake@gmail.com>2022-05-17 17:18:58 +0100
commit7aa40f55636be565441a9e0af8de0a346bfa4da2 (patch)
treecec851bcb9c00ea0d37da6b96cc5c65f2366862a /src/wallet/rpc
parentd5d40d59f8d12cf53c5ad1ce9710f3f108cec386 (diff)
refactor: use C++11 default initializers
Diffstat (limited to 'src/wallet/rpc')
-rw-r--r--src/wallet/rpc/transactions.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/wallet/rpc/transactions.cpp b/src/wallet/rpc/transactions.cpp
index c87af2ea30..0245968240 100644
--- a/src/wallet/rpc/transactions.cpp
+++ b/src/wallet/rpc/transactions.cpp
@@ -63,9 +63,7 @@ struct tallyitem
int nConf{std::numeric_limits<int>::max()};
std::vector<uint256> txids;
bool fIsWatchonly{false};
- tallyitem()
- {
- }
+ tallyitem() = default;
};
static UniValue ListReceived(const CWallet& wallet, const UniValue& params, const bool by_label, const bool include_immature_coinbase) EXCLUSIVE_LOCKS_REQUIRED(wallet.cs_wallet)