def test_get_v5_topic(): les_topic = discovery.get_v5_topic(LESProtocol, MinorBlockHeader().get_hash()) assert les_topic == b"LES@0ce4d51d78f9d944" les2_topic = discovery.get_v5_topic(LESProtocolV2, MinorBlockHeader().get_hash()) assert les2_topic == b"LES2@0ce4d51d78f9d944"
def test_get_v5_topic(): les_topic = discovery.get_v5_topic(LESProtocol, MinorBlockHeader().get_hash()) assert les_topic == b"LES@3d7de0b17a11990f" les2_topic = discovery.get_v5_topic(LESProtocolV2, MinorBlockHeader().get_hash()) assert les2_topic == b"LES2@3d7de0b17a11990f"
def test_get_v5_topic(): les_topic = discovery.get_v5_topic(LESProtocol, MinorBlockHeader().get_hash()) assert les_topic == b'LES@4252b62def95fdd0' les2_topic = discovery.get_v5_topic(LESProtocolV2, MinorBlockHeader().get_hash()) assert les2_topic == b'LES2@4252b62def95fdd0'