fixed unlimited coins hole

without changing the code, unlimited coins exist. It will occur in a bit over 11 year.
This should fix your problem
forgot a zero in commit 0c6822e, fixing that
commit a0ade52 is corrected

did a final update in 6b44d47