Commit d9644c34 authored by Alejandro Santander's avatar Alejandro Santander Committed by GitHub

Easy fix for broken watchers (#1121)

* Easy fix for broken watchers

* Ran yarn changeset
Co-authored-by: default avatarLiam Horne <liam@lihorne.com>
parent 8582fc16
---
'@eth-optimism/core-utils': patch
---
Minor fix on watchers to pick up finalization of transactions on L1
...@@ -33,7 +33,7 @@ export class Watcher { ...@@ -33,7 +33,7 @@ export class Watcher {
l2ToL1MsgHash: string, l2ToL1MsgHash: string,
pollForPending: boolean = true pollForPending: boolean = true
): Promise<TransactionReceipt> { ): Promise<TransactionReceipt> {
return this.getTransactionReceipt(this.l2, l2ToL1MsgHash, pollForPending) return this.getTransactionReceipt(this.l1, l2ToL1MsgHash, pollForPending)
} }
public async getL2TransactionReceipt( public async getL2TransactionReceipt(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment