Skip to content

Commit

Permalink
remove pruning
Browse files Browse the repository at this point in the history
  • Loading branch information
Cjen1 committed Jul 15, 2024
1 parent e819548 commit 7397634
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions impl/lib/conspire_f.ml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ module Make (Value : Value) = struct
remote.expected_tree <-
CTree.copy_update rep.store remote.expected_tree update.new_head

let get_update_to_send ?(prune = false) rep dst =
let get_update_to_send rep dst =
let update = get_update rep dst in
let remote = Map.find_exn rep.remotes dst in
Option.iter update.ctree ~f:(fun update ->
Expand All @@ -103,9 +103,6 @@ module Make (Value : Value) = struct
|> Result.ok |> Option.value_exn ) ;
Option.iter update.cons ~f:(fun s ->
set_state (Map.find_exn rep.remotes dst).expected_state s ) ;
let update =
{update with ctree= (if prune then None else update.ctree)}
in
update

let add_commands rep ~node vals =
Expand Down

0 comments on commit 7397634

Please sign in to comment.