Skip to content

Commit 2f97199

Browse files
committed
fix test
1 parent 2182d82 commit 2f97199

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/test/java/org/tron/core/net/node/HandleBlockMessageTest.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ public void testHandleBlockMessage() throws Exception {
9393

9494
peer.getSyncBlockRequested().put(blockMessage.getBlockId(), System.currentTimeMillis());
9595
node.onMessage(peer, blockMessageOther);
96-
Assert.assertEquals(peer.getSyncBlockRequested().isEmpty(), false);
96+
Assert.assertEquals(peer.getSyncBlockRequested().isEmpty(), true);
9797
}
9898

9999
//根据父块生成一个区块

0 commit comments

Comments
 (0)