missing fetchall()
This commit is contained in:
parent
646ae7e2d1
commit
1a802469f5
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ class Database(SQLiteMixin):
|
||||||
}, 'txid = ?', (tx.id,)))
|
}, 'txid = ?', (tx.id,)))
|
||||||
|
|
||||||
def _transaction_io(self, conn: sqlite3.Connection, tx: Transaction, address, txhash):
|
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:
|
for txo in tx.outputs:
|
||||||
if txo.script.is_pay_pubkey_hash and txo.pubkey_hash == txhash:
|
if txo.script.is_pay_pubkey_hash and txo.pubkey_hash == txhash:
|
||||||
|
|
Loading…
Reference in a new issue