Commit be38062c authored by muXxer's avatar muXxer

Fixed send on closed outgoingReq channel

parent 4399335d
......@@ -194,7 +194,9 @@ func (client *PowClient) PowFunc(trytes trinary.Trytes, minWeightMagnitude int,
pendingPowRequest := PendingPowRequest{powRequest: &api.PowRequest{Identifier: reqID, Trytes: string(trytes), Mwm: uint32(minWeightMagnitude)}, powResponseChan: make(chan *api.PowResponse, 1)}
client.outgoingReq <- pendingPowRequest
if !client.signalClosed {
client.outgoingReq <- pendingPowRequest
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