Commit e7c59b121db3898ac39c3576ed89d2d6f31506c8

Authored by Marius Hanne
1 parent 8a43ddb82e
Exists in altchains

remove unneeded db query left over from debugging

Showing 1 changed file with 0 additions and 2 deletions Side-by-side Diff

lib/bitcoin/storage/utxo/utxo_store.rb
... ... @@ -98,8 +98,6 @@
98 98 txs.each.with_index do |tx, tx_blk_idx|
99 99 tx.in.each.with_index do |txin, txin_tx_idx|
100 100 next if txin.coinbase?
101   - utxo = @db[:utxo][tx_hash: txin.prev_out.reverse.hth.to_sequel_blob,
102   - tx_idx: txin.prev_out_index]
103 101 @spent_outs << {
104 102 tx_hash: txin.prev_out.reverse.hth.to_sequel_blob,
105 103 tx_idx: txin.prev_out_index }