Skip to content

Commit

Permalink
fix: _cur.execute
Browse files Browse the repository at this point in the history
  • Loading branch information
blushi committed Oct 21, 2024
1 parent c2e6ca1 commit e0b8698
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index_retires.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def _index_retires(pg_conn, _client, _chain_num):
normalize["tx_hash"],
)
_cur.execute(
"INSERT INTO retirements (type, amount, batch_denom, batch_denoms, jurisdiction, owner, reason, block_height, chain_num, tx_idx, msg_idx, timestamp, tx_hash) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
"INSERT INTO retirements (type, amount, batch_denom, batch_denoms, jurisdiction, owner, reason, block_height, chain_num, tx_idx, msg_idx, timestamp, tx_hash) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
retirement,
)
pg_conn.commit()
Expand Down

0 comments on commit e0b8698

Please sign in to comment.