aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.cpp
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2021-02-18 14:06:47 -0500
committerluigi1111 <luigi1111w@gmail.com>2021-02-18 14:06:47 -0500
commit6556c33f133782b682938f14360cc6aeb39901c3 (patch)
tree8ee3c410f75a25d63adc96e94c46e81174f6cb2f /src/wallet/wallet2.cpp
parent906a62c6b269bb6adea45fc444efa4ee5e848a69 (diff)
parentbd129849f0b634bddf64a195097b15d585e8f2bd (diff)
downloadmonzero-core-6556c33f133782b682938f14360cc6aeb39901c3.tar.gz
monzero-core-6556c33f133782b682938f14360cc6aeb39901c3.tar.xz
monzero-core-6556c33f133782b682938f14360cc6aeb39901c3.zip
Merge pull request #7355
bd12984 Remove copies from foreach loops (thanks to Clang) (Lee Clagett) 1572df9 Removing unused namespace alias (Lee Clagett)
Diffstat (limited to 'src/wallet/wallet2.cpp')
-rw-r--r--src/wallet/wallet2.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/wallet/wallet2.cpp b/src/wallet/wallet2.cpp
index e2e4bd57f..e298eca53 100644
--- a/src/wallet/wallet2.cpp
+++ b/src/wallet/wallet2.cpp
@@ -345,8 +345,6 @@ std::string get_weight_string(const cryptonote::transaction &tx, size_t blob_siz
std::unique_ptr<tools::wallet2> make_basic(const boost::program_options::variables_map& vm, bool unattended, const options& opts, const std::function<boost::optional<tools::password_container>(const char *, bool)> &password_prompter)
{
- namespace ip = boost::asio::ip;
-
const bool testnet = command_line::get_arg(vm, opts.testnet);
const bool stagenet = command_line::get_arg(vm, opts.stagenet);
const network_type nettype = testnet ? TESTNET : stagenet ? STAGENET : MAINNET;