diff --git a/test/utreexo/utreexo.hpp b/test/utreexo/utreexo.hpp index c493f0c93f..d5e8588701 100644 --- a/test/utreexo/utreexo.hpp +++ b/test/utreexo/utreexo.hpp @@ -202,7 +202,7 @@ inline positions detwin(const positions& nodes, uint8_t forest_rows) NOEXCEPT // TODO: test. // TODO: guard overflows. -bool roots_to_destroy(positions& out, std::vector&& roots, +inline bool roots_to_destroy(positions& out, std::vector&& roots, uint64_t adding, uint64_t leaves) NOEXCEPT { uint8_t row{}; @@ -232,7 +232,7 @@ bool roots_to_destroy(positions& out, std::vector&& roots, // TODO: test. // TODO: guard overflows. -std::tuple detect_offset(uint64_t node, +constexpr std::tuple detect_offset(uint64_t node, uint64_t leaves) NOEXCEPT { uint8_t trees{};