Browse Source

Node: Allow Mainnet Solana shim (#4329)

bruce-riley 7 months ago
parent
commit
a97c4215f0
1 changed files with 0 additions and 4 deletions
  1. 0 4
      node/cmd/guardiand/node.go

+ 0 - 4
node/cmd/guardiand/node.go

@@ -879,10 +879,6 @@ func runNode(cmd *cobra.Command, args []string) {
 		logger.Fatal("--solanaShimContract may only be specified if --solanaContract is specified")
 		logger.Fatal("--solanaShimContract may only be specified if --solanaContract is specified")
 	}
 	}
 
 
-	if *solanaShimContract != "" && env == common.MainNet {
-		logger.Fatal("--solanaShimContract is not currently supported in mainnet")
-	}
-
 	if !argsConsistent([]string{*pythnetContract, *pythnetRPC, *pythnetWS}) {
 	if !argsConsistent([]string{*pythnetContract, *pythnetRPC, *pythnetWS}) {
 		logger.Fatal("Either --pythnetContract, --pythnetRPC and --pythnetWS must all be set or all unset")
 		logger.Fatal("Either --pythnetContract, --pythnetRPC and --pythnetWS must all be set or all unset")
 	}
 	}