diff --git a/test/state.cpp b/test/state.cpp index 03026e1f..8a8d2ef7 100644 --- a/test/state.cpp +++ b/test/state.cpp @@ -1107,11 +1107,10 @@ TEST_CASE_METHOD(StateTest, "Parent Hash with Empty Left Subtree") states[0].remove_proposal(LeafIndex{ 1 }), }; - auto [commit2, welcome2, new_state_2] = - states[2].commit(fresh_secret(), CommitOpts{ { removes }, true, false, {} }, {}); - silence_unused(commit2); - states[2] = new_state_2; - + auto [commit2, welcome2, new_state_2] = states[2].commit( + fresh_secret(), CommitOpts{ { removes }, true, false, {} }, {}); + silence_unused(commit2); + states[2] = new_state_2; // Member @2 should have a valid tree, even though its filtered direct path no // longer goes to the root.