Revert "miner change"

This reverts commit ffc03a2708e9eb52b7d0c5cf73585cce90d7129a.