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: