Fix #657, added getmininginfo to wrapper
Merge pull request #668 from TheSerapher/issue-657

Fix #657, added getmininginfo to wrapper