h256root()const{assert(node(m_root).size());/*std::cout << "Returning root as " << ret << " (really " << m_root << ")" << std::endl;*/returnm_root;}// patch the root in the case of the empty trie. TODO: handle this properly.
h256root()const{if(!node(m_root).size())BOOST_THROW_EXCEPTION(BadRoot());/*std::cout << "Returning root as " << ret << " (really " << m_root << ")" << std::endl;*/returnm_root;}// patch the root in the case of the empty trie. TODO: handle this properly.