Skip to content

Commit c94551e

Browse files
committed
Always take the create-on-send fee to reduce races leading to failed withdrawals
1 parent 167cae6 commit c94551e

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pkg/code/server/transaction/intent_handler.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -557,9 +557,6 @@ func (h *SendPublicPaymentIntentHandler) validateActions(
557557
err = validateExternalTokenAccountWithinIntent(ctx, h.data, destination)
558558
switch err {
559559
case nil:
560-
if simResult.HasAnyFeePayments() {
561-
return newIntentValidationErrorf("%s fee payment not required when external destination exists", transactionpb.FeePaymentAction_CREATE_ON_SEND_WITHDRAWAL.String())
562-
}
563560
default:
564561
if !strings.Contains(strings.ToLower(err.Error()), "doesn't exist on the blockchain") {
565562
return err

0 commit comments

Comments
 (0)