Fix double apply (#6045)

Signed-off-by: Kristina Fefelova <kristin.fefelova@gmail.com>
This commit is contained in:
Kristina
2024-07-10 22:26:59 +07:00
committed by GitHub
parent a4f338d43a
commit bf0991d76a
+1 -1
View File
@@ -757,7 +757,7 @@ export class TServerStorage implements ServerStorage {
})
result.push(...transactions)
if (applyTxes.length > 0) {
if (performAsync === undefined && applyTxes.length > 0) {
await this.apply(ctx, applyTxes)
}