// GetOperationsAfterCanonicalReference retrieves operations after canonical references.
// assumption: operations are sorted by transaction time
GetOperationsAfterCanonicalReference retrieves operations after canonical references.
assumption: operations are sorted by transaction time
// GetOperationsAfterCanonicalReference retrieves operations after canonical references . // assumption : operations are sorted by transaction time
func GetOperationsAfterCanonicalReference(ref string, anchorOps []*operation.AnchoredOperation) []*operation.AnchoredOperation { 
	found := false
	var additionalAnchorOps []*operation.AnchoredOperation
	for _, anchorOp := range anchorOps {
		if found {
			additionalAnchorOps = append(additionalAnchorOps, anchorOp)
		}
		if anchorOp.CanonicalReference == ref {
			found = true
		}
	}
	return additionalAnchorOps
}
func GetOperationsAfterCanonicalReference ( ref string , anchorOps [ ] * operation . AnchoredOperation ) [ ] * operation . AnchoredOperation { found := false var additionalAnchorOps [ ] * operation . AnchoredOperation for _ , anchorOp := range anchorOps { if found { additionalAnchorOps = append ( additionalAnchorOps , anchorOp ) } if anchorOp . CanonicalReference == ref { found = true } } return additionalAnchorOps }
GetOperationsAfterCanonicalReference retrieves operations after canonical references.
GetOperationsAfterCanonicalReference retrieves operations after canonical references .
//nolint:lll