diff --git a/bin/process_pending_btc_transactions b/bin/process_pending_btc_transactions index a4450bf82545ceeeba03e764a987373e53244285..e16b3fefdd7ce588c5616a2bcca430ba471b8076 100755 --- a/bin/process_pending_btc_transactions +++ b/bin/process_pending_btc_transactions @@ -247,7 +247,8 @@ done = REDIS.hgetall("pending_btc_transactions").map do |(txid, customer_id)| next unless transaction.confirmations >= CONFIG[:required_confirmations] btc = transaction.amount_for(address) if btc <= 0 - warn "Transaction shows as #{btc}, skipping #{txid}" + # This is a send, not a receive, do not record it + REDIS.hdel("pending_btc_transactions", txid) next end DB.transaction do