Update miner.js

queryWork 1