The assignor or endorser of any such bond, bill, or note, may pursue the same course with like effect in order to discharge such assignor or endorser from liability to the assignee of the bond, bill, or note.