Skip to content

Commit

Permalink
Remove duplicate print
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoog committed Oct 11, 2024
1 parent f816a1f commit 5d7f6f4
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions op-withdrawer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,5 @@ func ProveWithdrawal(ctx context.Context, l1, l2 *ethclient.Client, l2g *gethcli
if err != nil {
return nil, err
}
receipt, err := withdrawals.WaitForReceipt(ctx, l1, tx.Hash(), pollInterval)
if err != nil {
return nil, err
}
fmt.Printf("Message proved: %s\n", receipt.TxHash)
return receipt, nil
return withdrawals.WaitForReceipt(ctx, l1, tx.Hash(), pollInterval)
}

0 comments on commit 5d7f6f4

Please sign in to comment.