From 05bdde43cd3020ea7dd615d27c1d65c612b00cd7 Mon Sep 17 00:00:00 2001 From: jeffyanta Date: Mon, 11 May 2026 09:08:44 -0400 Subject: [PATCH] Enable USDF payments --- intent/integration.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/intent/integration.go b/intent/integration.go index f83a73f..67838ac 100644 --- a/intent/integration.go +++ b/intent/integration.go @@ -5,7 +5,6 @@ import ( ocp_transactionpb "github.com/code-payments/ocp-protobuf-api/generated/go/transaction/v1" - ocp_common "github.com/code-payments/ocp-server/ocp/common" ocp_data "github.com/code-payments/ocp-server/ocp/data" ocp_intent "github.com/code-payments/ocp-server/ocp/data/intent" ocp_integration "github.com/code-payments/ocp-server/ocp/integration" @@ -35,10 +34,6 @@ func (i *Integration) AllowCreation(ctx context.Context, intentRecord *ocp_inten return nil case ocp_intent.SendPublicPayment: - if intentRecord.MintAccount == ocp_common.CoreMintAccount.PublicKey().ToBase58() && !intentRecord.SendPublicPaymentMetadata.IsWithdrawal { - return ocp_transaction.NewIntentDeniedError("core mint account is restricted to withdrawals and swap fundings") - } - return nil case ocp_intent.ReceivePaymentsPublicly: