@ConnorStone made this fix earlier but messed up his repo. He is one of my admins on my server.
I fixed formatting and made single commit. Then when I searched for an issue ticket to track on commit I found #79 and it was the same exact thing but working in reverse.
Fixed lost funds during failed transactions.
Also added .gitignore to prevent bin folder from being added to repo.
Manually merged for next build