Skip to content

Commit 79b192f

Browse files
author
WorldDogs
committed
fix: correct variable assignment
1 parent 6749a11 commit 79b192f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tx-submitter/mock/l1client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ func (l *L1ClientWrapper) TransactionByHash(ctx context.Context, hash common.Has
176176
if tx, ok := l.transactions[hash]; ok {
177177
// If there's no receipt, the transaction is pending
178178
// If there's a receipt, the transaction is not pending
179-
_, hasReceipt = l.receipts[hash]
179+
_, hasReceipt := l.receipts[hash]
180180
return tx, !hasReceipt, nil
181181
}
182182
return nil, false, ethereum.NotFound

0 commit comments

Comments
 (0)