From cae18d9141adc13263eda03b7c1288c46bc32bfb Mon Sep 17 00:00:00 2001 From: Martun Karapetyan Date: Thu, 21 Dec 2023 01:18:10 -0800 Subject: [PATCH] Remove a cast. --- include/nil/actor/container/merkle/tree.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/nil/actor/container/merkle/tree.hpp b/include/nil/actor/container/merkle/tree.hpp index 95c4fb438b..e754ae3ca4 100644 --- a/include/nil/actor/container/merkle/tree.hpp +++ b/include/nil/actor/container/merkle/tree.hpp @@ -148,7 +148,7 @@ namespace nil { auto itr = first; for (auto i = begin; i < end; ++i) { auto leaf = *itr; - (*p)[i] = (value_type)nil::crypto3::containers::detail::generate_poseidon_leaf_hash(leaf); + (*p)[i] = nil::crypto3::containers::detail::generate_poseidon_leaf_hash(leaf); itr++; } return nil::actor::make_ready_future<>();