Skip to content

Commit

Permalink
whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
kocubinski committed Dec 12, 2024
1 parent 750bba0 commit 46ea6e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/tx/decode/unknown.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ func RejectUnknownFields(bz []byte, desc protoreflect.MessageDescriptor, allowUn
continue
}
// if a message descriptor is a placeholder resolve it using the injected resolver.
// this can happen when a descriptor has been registered in the "google.golang.org/protobuf"
// resgistry but not in "github.com/cosmos/gogoproto".
// this can happen when a descriptor has been registered in the
// "google.golang.org/protobuf" resgistry but not in "github.com/cosmos/gogoproto".
// fixes: https://github.com/cosmos/cosmos-sdk/issues/22574
if fieldMessage.IsPlaceholder() {
gogoDesc, err := resolver.FindDescriptorByName(fieldMessage.FullName())
Expand Down

0 comments on commit 46ea6e6

Please sign in to comment.