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,
53895389 return nil , err
53905390 }
53915391
5392- assetLeaves , err := r .cfg .UniverseArchive .MintingLeaves (ctx , universeID )
5392+ assetLeaves , err := r .cfg .UniverseArchive .FetchLeaves (ctx , universeID )
53935393 if err != nil {
53945394 return nil , err
53955395 }
Original file line number Diff line number Diff line change @@ -696,17 +696,17 @@ func (a *Archive) UniverseLeafKeys(ctx context.Context,
696696 return a .cfg .Multiverse .UniverseLeafKeys (ctx , q )
697697}
698698
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 ,
702702 id Identifier ) ([]Leaf , error ) {
703703
704- log .Debugf ("Retrieving all leaves for Universe: id=%v" ,
704+ log .Debugf ("Retrieving all leaves for universe ( id=%v) " ,
705705 id .StringForLog ())
706706
707707 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 )
710710 },
711711 )
712712}
You can’t perform that action at this time.
0 commit comments