Skip to content

Commit

Permalink
add error return in DefaultAllowBehaviour (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
strahe authored Feb 6, 2025
1 parent 3a8eb2f commit 476549d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/api/webrpc/market_filters.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ func (a *WebRPC) RemoveAllowFilter(ctx context.Context, wallet string) error {
return nil
}

func (a *WebRPC) DefaultAllowBehaviour(ctx context.Context) *bool {
func (a *WebRPC) DefaultAllowBehaviour(ctx context.Context) (bool, error) {
ret := !a.deps.Cfg.Market.StorageMarketConfig.MK12.DenyUnknownClients
return &ret
return ret, nil
}

0 comments on commit 476549d

Please sign in to comment.