lib/graphdb/model/extensions/open_assets/tx_out.rb in bitcoin2graphdb-0.2.4 vs lib/graphdb/model/extensions/open_assets/tx_out.rb in bitcoin2graphdb-0.2.5
- old
+ new
@@ -19,10 +19,9 @@
module ClassMethods
end
def apply_oa_attributes(oa_out)
- puts "oa out apply #{Time.now}"
self.asset_quantity = oa_out['asset_quantity']
self.oa_output_type = oa_out['output_type']
self.asset_id = AssetId.find_or_create(oa_out['asset_id']) unless oa_out['asset_id'].nil?
self.oa_output_type = 'uncolored' if self.asset_id.nil? && self.oa_output_type != 'marker'
save!
\ No newline at end of file