Mutex must survive past nano::test::system.
This commit is contained in:
parent
6c90bc220c
commit
0765ce3de3
1 changed files with 1 additions and 1 deletions
|
@ -72,10 +72,10 @@ block_list_t setup_independent_blocks (nano::test::system & system, nano::node &
|
|||
*/
|
||||
TEST (backlog, population)
|
||||
{
|
||||
nano::mutex mutex;
|
||||
nano::test::system system{};
|
||||
auto & node = *system.add_node ();
|
||||
|
||||
nano::mutex mutex;
|
||||
std::unordered_set<nano::account> activated;
|
||||
|
||||
node.backlog.activate_callback.add ([&] (nano::transaction const & transaction, nano::account const & account, nano::account_info const & account_info, nano::confirmation_height_info const & conf_info) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue