diff --git a/openmls/src/treesync/node/leaf_node.rs b/openmls/src/treesync/node/leaf_node.rs index 54334d9cae..c66b0b0fb0 100644 --- a/openmls/src/treesync/node/leaf_node.rs +++ b/openmls/src/treesync/node/leaf_node.rs @@ -834,7 +834,7 @@ impl Verifiable for VerifiableUpdateLeafNode { fn unsigned_payload(&self) -> Result, tls_codec::Error> { LeafNodeTbs { payload: self.payload.clone(), - tree_info_tbs: TreeInfoTbs::Commit(self.tree_position.clone()), + tree_info_tbs: TreeInfoTbs::Update(self.tree_position.clone()), } .tls_serialize_detached() }