def get_lines(
        note: str,
        max_length: int
) -> list:
    """
    Get lines for each transaction. Each line, by design, is 947 bytes in length,
    max length is 1024 bytes for the Algorand note field.

    :param note: The main feed which is base64 encoded with ISO-8859-1 encoding
    :param max_length: The intended line length
    :return: list_of_notes - A list of notes
    """
    # Do first append
    list_of_notes = [note[0:max_length]]
    new_note = note[max_length:]
    # Repeat succeeding appends
    while True:
        list_of_notes.append(new_note[0:max_length])
        new_note = new_note[max_length:]
        # Do append if final line is reached
        if len(new_note) < max_length:
            list_of_notes.append(new_note[0:])
            break
    return list_of_notes