We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b08a9b7 commit c241052Copy full SHA for c241052
pkg/code/server/transaction/onramp.go
@@ -22,6 +22,11 @@ func (s *transactionServer) DeclareFiatOnrampPurchaseAttempt(ctx context.Context
22
log := s.log.WithField("method", "DeclareFiatOnrampPurchaseAttempt")
23
log = client.InjectLoggingMetadata(ctx, log)
24
25
+ if common.CoreMintAccount.PublicKey().ToBase58() == common.UsdcMintAccount.PublicKey().ToBase58() {
26
+ log.Warn("core mint account is usdc")
27
+ return nil, status.Error(codes.Unavailable, "")
28
+ }
29
+
30
var deviceType client.DeviceType
31
userAgent, err := client.GetUserAgent(ctx)
32
if err == nil {
0 commit comments