mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-02-07 06:44:11 +00:00
resolve_link is of course public
This commit is contained in:
parent
ad403f1cca
commit
0bfd1d6b0d
@ -24,7 +24,7 @@ pub struct Tree {
|
||||
}
|
||||
|
||||
impl Tree {
|
||||
fn resolve_link(&self, link: EntryLink) -> Result<IndexedNode, Error> {
|
||||
pub fn resolve_link(&self, link: EntryLink) -> Result<IndexedNode, Error> {
|
||||
match link {
|
||||
EntryLink::Generated(index) => {
|
||||
let node = self.generated.get(&index).ok_or(Error::ExpectedInMemory(link))?;
|
||||
|
Loading…
Reference in New Issue
Block a user