Skip to content

Commit

Permalink
allow updates to publishers via governance
Browse files Browse the repository at this point in the history
  • Loading branch information
EricBolten committed Feb 4, 2024
1 parent aea55eb commit ebf4564
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions x/pubsub/keeper/proposal_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ import (

// HandleAddPublisherProposal is a handler for executing a passed community publisher addition proposal
func HandleAddPublisherProposal(ctx sdk.Context, k Keeper, p types.AddPublisherProposal) error {
_, found := k.GetPublisher(ctx, p.Domain)
if found {
return errorsmod.Wrapf(types.ErrAlreadyExists, "publisher already exists with domain: %s", p.Domain)
}

publisher := types.Publisher{
Domain: p.Domain,
Address: p.Address,
Expand Down

0 comments on commit ebf4564

Please sign in to comment.