// GetUnpublishedOperationsFromMetadata will retrieve unpublished operations from metadata.
GetUnpublishedOperationsFromMetadata will retrieve unpublished operations from metadata.
// GetUnpublishedOperationsFromMetadata will retrieve unpublished operations from metadata .
func GetUnpublishedOperationsFromMetadata(metadata document.Metadata) ([]*operation.AnchoredOperation, error) {
	methodMetadata, err := GetMethodMetadata(metadata)
	if err != nil {
		return nil, err
	}
	return getOperationsByKey(methodMetadata, document.UnpublishedOperationsProperty)
}
func GetUnpublishedOperationsFromMetadata ( metadata document . Metadata ) ( [ ] * operation . AnchoredOperation , error ) { methodMetadata , err := GetMethodMetadata ( metadata ) if err != nil { return nil , err } return getOperationsByKey ( methodMetadata , document . UnpublishedOperationsProperty ) }
GetUnpublishedOperationsFromMetadata will retrieve unpublished operations from metadata.
GetUnpublishedOperationsFromMetadata will retrieve unpublished operations from metadata .