Commit e57c1f3 1 parent 7e8a783 commit e57c1f3 Copy full SHA for e57c1f3
File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,6 @@ import path from "path";
120
120
import { fileURLToPath } from "url" ;
121
121
import yargs from "yargs" ;
122
122
123
-
124
123
const __filename = fileURLToPath ( import . meta. url ) ; // get the resolved path to the file
125
124
const __dirname = path . dirname ( __filename ) ; // get the name of the directory
126
125
@@ -1027,7 +1026,10 @@ export async function createAgent(
1027
1026
getSecret ( character , "RESERVOIR_API_KEY" )
1028
1027
? createNFTCollectionsPlugin ( )
1029
1028
: null ,
1030
- getSecret ( character , "PYTH_GRANULAR_LOG" ) ? pythDataPlugin : null ,
1029
+ getSecret ( character , "PYTH_TESTNET_PROGRAM_KEY" ) ||
1030
+ getSecret ( character , "PYTH_MAINNET_PROGRAM_KEY" )
1031
+ ? pythDataPlugin
1032
+ : null ,
1031
1033
] . filter ( Boolean ) ,
1032
1034
providers : [ ] ,
1033
1035
actions : [ ] ,
You can’t perform that action at this time.
0 commit comments