fix: do not return completed transactions

This commit is contained in:
Marc-Roig 2023-04-11 15:16:09 +02:00
parent c0729afdd7
commit d6918466c9

View File

@ -10,7 +10,8 @@ const transactionCtx = {
},
get() {
return storage.getStore();
const trx = storage.getStore();
return trx?.isCompleted() ? undefined : trx;
},
};