Skip to content

Commit

Permalink
fix royalty splits update tx
Browse files Browse the repository at this point in the history
  • Loading branch information
harish551 committed Jan 31, 2024
1 parent bdf7de6 commit 4e13847
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions x/onft/keeper/denom.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,10 +126,11 @@ func (k Keeper) UpdateDenom(ctx sdk.Context, msg *types.MsgUpdateDenom) error {
}

denomMetadata := &types.DenomMetadata{
Creator: denom.Creator,
Schema: denom.Schema,
PreviewUri: denom.PreviewURI,
Data: denom.Data,
Creator: denom.Creator,
Schema: denom.Schema,
PreviewUri: denom.PreviewURI,
Data: denom.Data,
RoyaltyReceivers: denom.RoyaltyReceivers,
}
if msg.PreviewURI != types.DoNotModify {
denomMetadata.PreviewUri = msg.PreviewURI
Expand Down

0 comments on commit 4e13847

Please sign in to comment.