missing fetchall()

This commit is contained in:
Jack Robison 2020-01-12 16:11:57 -05:00
parent 646ae7e2d1
commit 1a802469f5
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -417,7 +417,7 @@ class Database(SQLiteMixin):
}, 'txid = ?', (tx.id,)))
def _transaction_io(self, conn: sqlite3.Connection, tx: Transaction, address, txhash):
conn.execute(*self._insert_sql('tx', self.tx_to_row(tx), replace=True))
conn.execute(*self._insert_sql('tx', self.tx_to_row(tx), replace=True)).fetchall()
for txo in tx.outputs:
if txo.script.is_pay_pubkey_hash and txo.pubkey_hash == txhash: