Update Miner.php

Add transaction