Skip to content

Commit

Permalink
Comparing hashes instead of block pointers. (#3172)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemahieu authored Mar 29, 2021
1 parent a602f9d commit 42e706e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nano/core_test/node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1127,8 +1127,8 @@ TEST (node, fork_publish_inactive)
auto blocks (election->blocks ());
ASSERT_NE (blocks.end (), blocks.find (send1->hash ()));
ASSERT_NE (blocks.end (), blocks.find (send2->hash ()));
ASSERT_NE (election->winner (), send1);
ASSERT_NE (election->winner (), send2);
ASSERT_EQ (election->winner ()->hash (), send1->hash ());
ASSERT_NE (election->winner ()->hash (), send2->hash ());
}

TEST (node, fork_keep)
Expand Down

0 comments on commit 42e706e

Please sign in to comment.