Clean up usage of doubles in transaction_spec