Initializing stopped before starting wallet thread.
This commit is contained in:
parent
54d84d0bbc
commit
8c1114ec8b
2 changed files with 3 additions and 3 deletions
|
@ -1201,8 +1201,8 @@ void rai::wallet::work_generate (rai::account const & account_a, rai::block_hash
|
|||
rai::wallets::wallets (bool & error_a, rai::node & node_a) :
|
||||
observer ([](bool) {}),
|
||||
node (node_a),
|
||||
thread ([this] () { do_wallet_actions (); }),
|
||||
stopped (false)
|
||||
stopped (false),
|
||||
thread ([this] () { do_wallet_actions (); })
|
||||
{
|
||||
if (!error_a)
|
||||
{
|
||||
|
|
|
@ -175,8 +175,8 @@ public:
|
|||
rai::kdf kdf;
|
||||
MDB_dbi handle;
|
||||
rai::node & node;
|
||||
std::thread thread;
|
||||
bool stopped;
|
||||
std::thread thread;
|
||||
static rai::uint128_t const generate_priority;
|
||||
static rai::uint128_t const high_priority;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue