[api] check also the local target of a channel