If the complainant and accused both appear, as is required by sections 29-02-15 and 29-02-16, the court may hear their proofs and allegations, and may discharge the undertaking or require a new one for a time not exceeding one year.
N.D.C.C. § 29-02-17