We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87304f9 commit 71f4f7dCopy full SHA for 71f4f7d
1 file changed
packages/relayer/src/rpc-relayer/index.ts
@@ -80,15 +80,15 @@ export class RpcRelayer implements Relayer {
80
81
while (isCancelled === undefined || !isCancelled()) {
82
try {
83
- const { receipt } = await this.service.getMetaTxnReceipt({ metaTxID: metaTxnId })
+ const { receipt, metaTxnEnqueued } = await this.service.getMetaTxnReceipt({ metaTxID: metaTxnId })
84
85
if (
86
receipt &&
87
receipt.txnReceipt &&
88
receipt.txnReceipt !== 'null' &&
89
FINAL_STATUSES.includes(receipt.status as proto.ETHTxnStatus)
90
) {
91
- return { receipt }
+ return { receipt, metaTxnEnqueued }
92
}
93
} catch (e) {
94
fails++
0 commit comments