mirror of
https://github.com/tendermint/tendermint.git
synced 2026-08-28 20:06:24 +00:00
Use a hex constant.
This commit is contained in:
@@ -37,7 +37,7 @@ func (s *Source) nextCounter() int64 {
|
||||
func (s *Source) Cursor() Cursor {
|
||||
return Cursor{
|
||||
timestamp: uint64(s.timeIndex()),
|
||||
sequence: uint16(s.nextCounter() & 65535),
|
||||
sequence: uint16(s.nextCounter() & 0xffff),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user