mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-24 23:35:19 +00:00
fix: delete claim after user claims it
This commit is contained in:
parent
c6d287a5b3
commit
178f74c1d8
@ -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,
|
||||||
|
Loading…
Reference in New Issue
Block a user