Creates a new [Pointer] from a [Location] with an unhashed [RlpNode].
(location: Location)
| 27 | |
| 28 | /// Creates a new [Pointer] from a [Location] with an unhashed [RlpNode]. |
| 29 | pub fn new_unhashed(location: Location) -> Self { |
| 30 | Self { location, rlp: RlpNode::from_rlp(&[]) } |
| 31 | } |
| 32 | |
| 33 | /// Returns the [RlpNode] wrapped by the [Pointer]. |
| 34 | pub fn rlp(&self) -> &RlpNode { |
nothing calls this directly
no outgoing calls
no test coverage detected