This commit is contained in:
boufni95 2024-08-08 17:05:32 +02:00
parent bbda895e86
commit 7ed3b0ee32

View file

@ -22,6 +22,7 @@ export default class {
if (!this.pendingTx) {
return this.execQueueItem(op)
}
this.log("pushing to queue", this.transactionsQueue.length)
return new Promise<T>((res, rej) => {
this.transactionsQueue.push({ op, res, rej })
})