Skip to content

Commit

Permalink
Fix cluster status decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
khssnv committed Aug 23, 2024
1 parent 771ce86 commit db193fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blockchain/pallets/primitives.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func (m *ClusterStatus) Decode(decoder scale.Decoder) error {

i := int(b)

v := reflect.ValueOf(m)
v := reflect.ValueOf(m).Elem()
if i > v.NumField() {
return ErrUnknownVariant
}
Expand Down

0 comments on commit db193fa

Please sign in to comment.