mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 16:27:39 +00:00
Merge pull request #8017
a15466d
wallet2: remove 2 unused variables (selsta)
This commit is contained in:
commit
ff4ede9356
1 changed files with 0 additions and 2 deletions
|
@ -314,7 +314,6 @@ void do_prepare_file_names(const std::string& file_path, std::string& keys_file,
|
||||||
{
|
{
|
||||||
keys_file = file_path;
|
keys_file = file_path;
|
||||||
wallet_file = file_path;
|
wallet_file = file_path;
|
||||||
boost::system::error_code e;
|
|
||||||
if(string_tools::get_extension(keys_file) == "keys")
|
if(string_tools::get_extension(keys_file) == "keys")
|
||||||
{//provided keys file name
|
{//provided keys file name
|
||||||
wallet_file = string_tools::cut_off_extension(wallet_file);
|
wallet_file = string_tools::cut_off_extension(wallet_file);
|
||||||
|
@ -7073,7 +7072,6 @@ bool wallet2::load_tx(const std::string &signed_filename, std::vector<tools::wal
|
||||||
bool wallet2::parse_tx_from_str(const std::string &signed_tx_st, std::vector<tools::wallet2::pending_tx> &ptx, std::function<bool(const signed_tx_set &)> accept_func)
|
bool wallet2::parse_tx_from_str(const std::string &signed_tx_st, std::vector<tools::wallet2::pending_tx> &ptx, std::function<bool(const signed_tx_set &)> accept_func)
|
||||||
{
|
{
|
||||||
std::string s = signed_tx_st;
|
std::string s = signed_tx_st;
|
||||||
boost::system::error_code errcode;
|
|
||||||
signed_tx_set signed_txs;
|
signed_tx_set signed_txs;
|
||||||
|
|
||||||
const size_t magiclen = strlen(SIGNED_TX_PREFIX) - 1;
|
const size_t magiclen = strlen(SIGNED_TX_PREFIX) - 1;
|
||||||
|
|
Loading…
Reference in a new issue