Fix the "use mining voucher many times" bug
Merge pull request #3280 from MrPerson/mining_vouchers

Fix the "use mining voucher many times" bug