mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-07-30 03:51:22 +00:00
resolve_link is of course public
This commit is contained in:
@@ -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))?;
|
||||
|
Reference in New Issue
Block a user