purgetransactions was crashing, so I reverted it