Fix possible issue in active_transactions.adjusted_difficulty_overflow_min test (#2273)
This commit is contained in:
parent
02765ed5a7
commit
8b0554472e
1 changed files with 2 additions and 0 deletions
|
@ -234,6 +234,8 @@ TEST (active_transactions, adjusted_difficulty_overflow_min)
|
|||
ASSERT_LT (open2_root->adjusted_difficulty, send2_root->adjusted_difficulty);
|
||||
ASSERT_LT (send3_root->adjusted_difficulty, open2_root->adjusted_difficulty);
|
||||
ASSERT_EQ (send3_root->adjusted_difficulty, std::numeric_limits<std::uint64_t>::min ());
|
||||
// Clear roots with too low difficulty to prevent issues
|
||||
node1.active.roots.clear ();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue