Skip to content

Commit

Permalink
chore: skip verification if vout's cell_output is missing (#2095)
Browse files Browse the repository at this point in the history
  • Loading branch information
rabbitz committed Jul 24, 2024
1 parent e79bd2f commit 195242b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/api/v2/bitcoin_vouts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ def verify
bitcoin_vouts: { index: previous_vout["index"], op_return: false })
bitcoin_vouts.each do |vout|
next if vout.unbound? || vout.normal?
next unless vout.cell_output

status =
if vout.cell_output.dead?
Expand Down

0 comments on commit 195242b

Please sign in to comment.