lib/glueby/contract/timestamp/tx_builder/simple.rb in glueby-1.2.0 vs lib/glueby/contract/timestamp/tx_builder/simple.rb in glueby-1.2.1

- old
+ new

@@ -20,13 +20,10 @@ def set_data(prefix, data) @prefix = prefix @data = data - contents = [prefix, data].map do |content| - content.bytes.map { |i| i.to_s(16) }.join - end - + contents = [prefix, data].map(&:bth) @txb.data(*contents) self end def set_inputs(utxo_provider) \ No newline at end of file