mirror of
https://github.com/alexgo-io/stacks-blockchain-api.git
synced 2026-01-12 22:43:34 +08:00
fix: remove duplicate tx socket updates inside db transactions (#1360)
This commit is contained in:
@@ -2022,9 +2022,6 @@ export class PgWriteStore extends PgStore {
|
||||
RETURNING tx_id
|
||||
`;
|
||||
const deletedTxs = deletedTxResults.map(r => r.tx_id);
|
||||
for (const txId of deletedTxs) {
|
||||
await this.notifier?.sendTx({ txId: txId });
|
||||
}
|
||||
return { deletedTxs: deletedTxs };
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user