amnesia: fix transaction macros