How to verify the correctness of a channel?