Skip to content

Commit

Permalink
More fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZenGround0 committed Aug 5, 2022
1 parent 84a9f79 commit d152108
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions node/impl/full/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -654,9 +654,9 @@ func (a *ChainAPI) ChainBlockstoreInfo(ctx context.Context) (map[string]interfac
return info.Info(), nil
}

func (a *ChainAPI) ChainPrune(ctx context.Context, opts map[string]interface{}) error {
func (a *ChainAPI) ChainPrune(ctx context.Context, opts api.PruneOpts) error {
pruner, ok := a.BaseBlockstore.(interface {
PruneChain(opts map[string]interface{}) error
PruneChain(opts api.PruneOpts) error
})
if !ok {
return xerrors.Errorf("base blockstore does not support pruning (%T)", a.BaseBlockstore)
Expand Down

0 comments on commit d152108

Please sign in to comment.