lib/graphdb/model/tx_out.rb in bitcoin2graphdb-0.2.1 vs lib/graphdb/model/tx_out.rb in bitcoin2graphdb-0.2.2
- old
+ new
@@ -17,9 +17,10 @@
validates :n, :presence => true
scope :with_out_index, -> (n){where(n: n)}
def self.create_from_hash(hash)
+ puts "create tx_out #{Time.now}"
tx_out = new
tx_out.value = hash['value']
tx_out.n = hash['n']
tx_out.save!
if hash['scriptPubKey']
\ No newline at end of file