data tree BUGFIX do not hash twice when duplicating
diff --git a/src/tree_data.c b/src/tree_data.c
index 7dfae9e..f55f10c 100644
--- a/src/tree_data.c
+++ b/src/tree_data.c
@@ -1,9 +1,9 @@
/**
* @file tree_data.c
* @author Radek Krejci <rkrejci@cesnet.cz>
- * @brief Schema tree implementation
+ * @brief Data tree functions
*
- * Copyright (c) 2015 - 2018 CESNET, z.s.p.o.
+ * Copyright (c) 2015 - 2020 CESNET, z.s.p.o.
*
* This source code is licensed under BSD 3-Clause License (the "License").
* You may not use this file except in compliance with the License.
@@ -2097,7 +2097,6 @@
/* insert */
lyd_insert_node(parent, first, dup);
- lyd_insert_hash(dup);
if (dup_p) {
*dup_p = dup;