Skip to content

Commit

Permalink
Update x/collection/keeper/supply.go
Browse files Browse the repository at this point in the history
  • Loading branch information
0Tech authored Apr 11, 2023
1 parent 85db7bf commit 94a1404
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x/collection/keeper/supply.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ func (k Keeper) CreateContract(ctx sdk.Context, creator sdk.AccAddress, contract
Grantee: creator.String(),
}
ctx.EventManager().EmitEvent(collection.NewEventGrantPermTokenHead(eventGrant))
// 0 is "unspecified"
for i := 1; i < len(collection.Permission_value); i++ {
p := collection.Permission(i)

Expand Down

0 comments on commit 94a1404

Please sign in to comment.