fix: delete claim after user claims it

This commit is contained in:
Kevin Davis 2020-05-07 13:43:36 -04:00
parent c6d287a5b3
commit 178f74c1d8

View File

@ -29,6 +29,7 @@ func (k Keeper) PayoutClaim(ctx sdk.Context, addr sdk.AccAddress, denom string,
return err return err
} }
k.DeleteClaim(ctx, addr, denom, id)
ctx.EventManager().EmitEvent( ctx.EventManager().EmitEvent(
sdk.NewEvent( sdk.NewEvent(
types.EventTypeClaim, types.EventTypeClaim,