Commit c82ded52 authored by vicotor's avatar vicotor

fix bug

parent 44755618
......@@ -427,6 +427,7 @@ func (wm *WorkerManager) handleWorkerMsg(worker *Worker) {
}).Debugf("receive worker device info:%v", msg.DeviceInfo)
{
// receive device info
worker.online = true
worker.publicKey = msg.DeviceInfo.MinerPubkey
worker.deviceInfo = msg.DeviceInfo.Devices
worker.benefitAddr = msg.DeviceInfo.BenefitAddress
......
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