Update transaction.rb

remove old ruby hash style syntax