1
0
Fork 0
forked from lthn/blockchain

wallet_rpc_server initialization fix

This commit is contained in:
sowle 2021-10-25 22:12:32 +02:00
parent 52440749ed
commit 4fbc383d0f
No known key found for this signature in database
GPG key ID: C07A24B2D89D49FC

View file

@ -56,7 +56,11 @@ namespace tools
command_line::add_arg(desc, arg_deaf_mode);
}
//------------------------------------------------------------------------------------------------------------------------------
wallet_rpc_server::wallet_rpc_server(wallet2& w):m_wallet(w), m_do_mint(false), m_deaf(false)
wallet_rpc_server::wallet_rpc_server(wallet2& w)
: m_wallet(w)
, m_do_mint(false)
, m_deaf(false)
, m_last_wallet_store_height(0)
{}
//------------------------------------------------------------------------------------------------------------------------------
bool wallet_rpc_server::run(bool do_mint, bool offline_mode, const currency::account_public_address& miner_address)