File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -5389,7 +5389,7 @@ func (r *rpcServer) AssetLeaves(ctx context.Context,
5389
5389
return nil , err
5390
5390
}
5391
5391
5392
- assetLeaves , err := r .cfg .UniverseArchive .MintingLeaves (ctx , universeID )
5392
+ assetLeaves , err := r .cfg .UniverseArchive .FetchLeaves (ctx , universeID )
5393
5393
if err != nil {
5394
5394
return nil , err
5395
5395
}
Original file line number Diff line number Diff line change @@ -696,17 +696,17 @@ func (a *Archive) UniverseLeafKeys(ctx context.Context,
696
696
return a .cfg .Multiverse .UniverseLeafKeys (ctx , q )
697
697
}
698
698
699
- // MintingLeaves returns the set of minting leaves known for the specified base
700
- // universe .
701
- func (a * Archive ) MintingLeaves (ctx context.Context ,
699
+ // FetchLeaves returns the set of leaves which correspond to the given universe
700
+ // identifier .
701
+ func (a * Archive ) FetchLeaves (ctx context.Context ,
702
702
id Identifier ) ([]Leaf , error ) {
703
703
704
- log .Debugf ("Retrieving all leaves for Universe: id=%v" ,
704
+ log .Debugf ("Retrieving all leaves for universe ( id=%v) " ,
705
705
id .StringForLog ())
706
706
707
707
return withUni (
708
- a , id , func (baseUni BaseBackend ) ([]Leaf , error ) {
709
- return baseUni .MintingLeaves (ctx )
708
+ a , id , func (uni BaseBackend ) ([]Leaf , error ) {
709
+ return uni .MintingLeaves (ctx )
710
710
},
711
711
)
712
712
}
You can’t perform that action at this time.
0 commit comments