Creates a new [`TrieNode::Blinded`] node. ## Takes - `commitment` - The commitment that blinds the node ## Returns - `Self` - The new blinded [`TrieNode`].
(commitment: B256)
| 104 | /// ## Returns |
| 105 | /// - `Self` - The new blinded [`TrieNode`]. |
| 106 | pub const fn new_blinded(commitment: B256) -> Self { |
| 107 | Self::Blinded { commitment } |
| 108 | } |
| 109 | |
| 110 | /// Blinds the [`TrieNode`].. Alternatively, if the [`TrieNode`] is a [`TrieNode::Blinded`] node |
| 111 | /// already, its commitment is returned directly. |
nothing calls this directly
no outgoing calls
no test coverage detected