lib/graphdb/model/tx_in.rb in bitcoin2graphdb-0.2.1 vs lib/graphdb/model/tx_in.rb in bitcoin2graphdb-0.2.2
- old
+ new
@@ -15,9 +15,10 @@
validates :sequence, :presence => true
after_create :add_out_point_rel
def self.create_from_hash(hash)
+ puts "create tx_in #{Time.now}"
tx_in = new
tx_in.txid = hash['txid']
tx_in.vout = hash['vout']
if hash['scriptSig']
tx_in.script_sig_asm = hash['scriptSig']['asm']
\ No newline at end of file