Skip to content

Commit

Permalink
Merge branch 'master' into electra-support
Browse files Browse the repository at this point in the history
  • Loading branch information
pk910 committed Nov 6, 2024
2 parents 8de66d8 + 69f31a2 commit 3f4bf80
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/coordinator/tasks/generate_deposits/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,15 +152,15 @@ func (t *Task) Execute(ctx context.Context) error {
<-pendingChan
}

pendingWg.Done()

depositReceiptsMtx.Lock()
depositReceipts[tx.Hash().Hex()] = receipt
depositReceiptsMtx.Unlock()

if receipt != nil {
t.logger.Infof("deposit %v confirmed in block %v (nonce: %v, status: %v)", tx.Hash().Hex(), receipt.BlockNumber, tx.Nonce(), receipt.Status)
}

pendingWg.Done()
})
if err != nil {
t.logger.Errorf("error generating deposit: %v", err.Error())
Expand Down

0 comments on commit 3f4bf80

Please sign in to comment.