Consumes `Self` and takes the current state root of the trie DB.
(self)
| 67 | |
| 68 | /// Consumes `Self` and takes the current state root of the trie DB. |
| 69 | pub fn take_root_node(self) -> TrieNode { |
| 70 | self.root_node |
| 71 | } |
| 72 | |
| 73 | /// Returns a shared reference to the root [`TrieNode`] of the trie DB. |
| 74 | pub const fn root(&self) -> &TrieNode { |
no outgoing calls