Skip to content

Commit

Permalink
Don't log "failed to create payment for withdrawal" twice
Browse files Browse the repository at this point in the history
Solves #268
  • Loading branch information
robvanmieghem committed Dec 16, 2023
1 parent 34e3817 commit d815d7c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bridges/stellar-evm/api/bridge/bridge.go
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,5 @@ func (bridge *Bridge) withdraw(ctx context.Context, we WithdrawEvent) (err error
//TODO: Should this adress be fetched through the wallet?
includeWithdrawFee := bridge.wallet.Config.StellarFeeWallet != ""
err = bridge.wallet.CreateAndSubmitPayment(ctx, we.blockchain_address, amount, we.receiver, we.blockHeight, hash, "", includeWithdrawFee)
if err != nil {
log.Error(fmt.Sprintf("failed to create payment for withdrawal to %s, %s", we.blockchain_address, err.Error()))
}
return
}

0 comments on commit d815d7c

Please sign in to comment.