Skip to content

Commit 68317cf

Browse files
committed
fix onchainJson
1 parent ef11535 commit 68317cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1200,7 +1200,7 @@ const startAgents = async () => {
12001200
characters = await loadCharacterFromOnchain();
12011201
}
12021202

1203-
if ((onchainJson == "null" && charactersArg) || hasValidRemoteUrls()) {
1203+
if ((!onchainJson && charactersArg) || hasValidRemoteUrls()) {
12041204
characters = await loadCharacters(charactersArg);
12051205
}
12061206

0 commit comments

Comments
 (0)