Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
tkxkd0159 committed May 3, 2024
1 parent 4460ca3 commit 08acdfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/fbridge/keeper/keeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (k Keeper) GetRoleMetadata(ctx sdk.Context) types.RoleMetadata {
data := types.RoleMetadata{}
bz := memStore.Get(types.KeyMemRoleMetadata)
if bz == nil {
panic("role metadata must be set at genesis")
return types.RoleMetadata{}
}
k.cdc.MustUnmarshal(bz, &data)
return data
Expand Down

0 comments on commit 08acdfb

Please sign in to comment.