Commit 3ea9868b authored by obscuren's avatar obscuren

miner: on downloader.Done/Fail stop immediately. Ignore pending evs

parent 4600ecb5
......@@ -65,6 +65,8 @@ func (self *Miner) update() {
}
// unsubscribe. we're only interested in this event once
events.Unsubscribe()
// stop immediately and ignore all further pending events
break
}
}
......
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