Commit 4646e071 authored by David Stainton's avatar David Stainton

Fix sentWaitChan usage

parent 51eda881
Pipeline #961 failed with stage
in 10 minutes and 55 seconds
......@@ -201,8 +201,7 @@ func (s *Session) BlockingSendUnreliableMessage(recipient, provider string, mess
return nil, err
// wait until sent so that we know the ReplyETA for the waiting below
sentMessageRaw := <-sentWaitChan
sentMessage := sentMessageRaw.(*Message)
sentMessage := <-sentWaitChan
// wait for reply or round trip timeout
select {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment