def get_peer_and_channel(peers, scid):
    """Look for the channel identified by {scid} in our list of {peers}"""
    for peer in peers:
        for channel in peer["channels"]:
            if channel.get("short_channel_id") == scid:
                return (peer, channel)

    return (None, None)