mirror of
https://github.com/Qortal/pirate-librustzcash.git
synced 2025-02-12 01:55:48 +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 {
|
impl Tree {
|
||||||
fn resolve_link(&self, link: EntryLink) -> Result<IndexedNode, Error> {
|
pub fn resolve_link(&self, link: EntryLink) -> Result<IndexedNode, Error> {
|
||||||
match link {
|
match link {
|
||||||
EntryLink::Generated(index) => {
|
EntryLink::Generated(index) => {
|
||||||
let node = self.generated.get(&index).ok_or(Error::ExpectedInMemory(link))?;
|
let node = self.generated.get(&index).ok_or(Error::ExpectedInMemory(link))?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user