wormchain: wormhole: Fix inconsistent comment

This commit is contained in:
Chirantan Ekbote 2022-08-22 17:04:39 +09:00 committed by Chirantan Ekbote
parent 991c41b46e
commit 96c0db86ce
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ func GetGuardianSetIDBytes(id uint32) []byte {
return bz
}
// GetGuardianSetIDFromBytes returns ID in uint64 format from a byte array
// GetGuardianSetIDFromBytes returns ID in uint32 format from a byte array
func GetGuardianSetIDFromBytes(bz []byte) uint32 {
return binary.BigEndian.Uint32(bz)
}