Skip to content

Bug with TimeProvider (PING) #202

@funtax

Description

@funtax

Describe the bug
I think there's a bug within the TimeProvider.updateWithPing().

I assume it's missing an "L" and casting wrong:

Corrent: long diff = ByteBuffer.wrap(pingPayload).getInt() * 1000L - System.currentTimeMillis();

instead of

Wrong: long diff = ByteBuffer.wrap(pingPayload).getInt() * 1000 - System.currentTimeMillis();

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions