Skip to content

authentication magic constant overwritten #463

Description

@tilfanin

liteclient/connection.go

In sendAuthComplete, two consecutive binary. LittleEndian.PutUint32 calls both write to the same 4 bytes of payload. The first write (magicTcpAuthentificationComplete) is immediately overwritten by the second (magicPubKey), so the authentication complete message is sent with the wrong magic type prefix.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions