def clear_bad_addresses(store):
 bad_tx = ['a288fec5559c3f73fd3d93db8e8460562ebfe2fcf04a5114e8d0f2920a6270dc', '2a0597e665ac3d1cabeede95cedf907934db7f639e477b3c77b242140d8cf728', 'e411dbebd2f7d64dafeef9b14b5c59ec60c36779d43f850e5e347abee1e1a455']
 for tx_hash in bad_tx:
  row = store.selectrow('\n            SELECT tx_id FROM tx WHERE tx_hash = ?', (store.hashin_hex(tx_hash),))
  if row:
   store.sql('\n                UPDATE txout SET pubkey_id = NULL\n                 WHERE tx_id = ? AND txout_pos = 1 AND pubkey_id IS NOT NULL', (row[0],))
   if store.rowcount():
    store.log.info('Cleared txout %s', tx_hash)

def clear_bad_addresses ( store ) : bad_tx = [ 'a288fec5559c3f73fd3d93db8e8460562ebfe2fcf04a5114e8d0f2920a6270dc' , '2a0597e665ac3d1cabeede95cedf907934db7f639e477b3c77b242140d8cf728' , 'e411dbebd2f7d64dafeef9b14b5c59ec60c36779d43f850e5e347abee1e1a455' ] for tx_hash in bad_tx : row = store . selectrow ( '\n            SELECT tx_id FROM tx WHERE tx_hash = ?' , ( store . hashin_hex ( tx_hash ) , ) ) if row : store . sql ( '\n                UPDATE txout SET pubkey_id = NULL\n                 WHERE tx_id = ? AND txout_pos = 1 AND pubkey_id IS NOT NULL' , ( row [ 0 ] , ) ) if store . rowcount ( ) : store . log . info ( 'Cleared txout %s' , tx_hash )
set address=unknown for the bogus outputs in bitcoin 71036 .