Skip to content

Commit

Permalink
fix: get proven time
Browse files Browse the repository at this point in the history
  • Loading branch information
bendanzhentan committed Mar 14, 2024
1 parent b0cb9ed commit c418aa7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/processor.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ func (b *Processor) GetProvenTime(wi *WithdrawalInitiatedLog) (*big.Int, error)
return nil, err
}

receipt, err := b.L1Client.TransactionReceipt(context.Background(), common.HexToHash(wi.TransactionHash))
receipt, err := b.L2Client.TransactionReceipt(context.Background(), common.HexToHash(wi.TransactionHash))
if err != nil {
return nil, fmt.Errorf("TransactionReceipt err: %v, wi: %v", err, wi)
}
Expand Down

0 comments on commit c418aa7

Please sign in to comment.