Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaroms committed Apr 5, 2024
1 parent e9ab415 commit 6ba339d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x/pairing/types/epoch_cu.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func DecodeUniqueEpochSessionKey(key string) (epoch uint64, provider string, cha
return 0, "", "", "", 0, fmt.Errorf("invalid UniqueEpochSession key: bad structure. key: %s", key)
}
epoch = DecodeBlock([]byte(key[0:8]))
sessionID, err = strconv.ParseUint(split[4], 10, 64)
sessionID, err = strconv.ParseUint(split[3], 10, 64)
if err != nil {
return 0, "", "", "", 0, fmt.Errorf("invalid UniqueEpochSession key: bad session ID. key: %s", key)
}
Expand Down

0 comments on commit 6ba339d

Please sign in to comment.