summaryrefslogtreecommitdiff
path: root/internal/protocol.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-03-02 18:59:43 +0300
committerGitHub <[email protected]>2021-03-02 18:59:43 +0300
commita93b4c429129037988e74de25b94829b142f213e (patch)
tree45aaf646652bb6ca58b96359ba0c86a9caa69f5e /internal/protocol.go
parentfadd95c45faf91feff65bf3c5b10900147c1f729 (diff)
parent56bb5beb23aaf3d79e9f870c85924c9d98dcfe8b (diff)
Merge pull request #569 from spiral/feature/release_2.0.0v2.0.0
âš¡v2.0.0
Diffstat (limited to 'internal/protocol.go')
-rwxr-xr-xinternal/protocol.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/protocol.go b/internal/protocol.go
index 48c653a5..3257c1d9 100755
--- a/internal/protocol.go
+++ b/internal/protocol.go
@@ -67,6 +67,7 @@ func FetchPID(rl relay.Relay) (int64, error) {
}
frameR := frame.NewFrame()
+
err = rl.Receive(frameR)
if !frameR.VerifyCRC() {
return 0, errors.E(op, errors.Str("CRC mismatch"))