Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
test hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
JesusGautamah committed Nov 21, 2022
1 parent 0ae93c7 commit 334ee64
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/services/create_ticket_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,12 @@ def shuffled_string
puts "Word: #{word}"
puts "Number sequence: #{number_sequence}"
puts "Symbol sequence: #{symbol_sequence}"
(word + number_sequence + symbol_sequence).split("").shuffle.join
string_sum = (word + number_sequence + symbol_sequence).split("").shuffle.join
puts "Shuffled string: #{string_sum}"
string_sum
end

def generate_user_acceptable_hash
puts "Shuffled string: #{shuffled_string}"
hash = Digest::SHA256.hexdigest(shuffled_string)
puts "Hash: #{hash}"
block_hash = Digest::SHA256.hexdigest(@transactions.to_json)
Expand Down

0 comments on commit 334ee64

Please sign in to comment.