Update transaction.hpp

fixed documentation issue