h256const&root()const{if(node(m_root).empty())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.
h256const&root()const{if(node(m_root).empty())BOOST_THROW_EXCEPTION(BadRoot(m_root));/*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.