Skip to content

Commit 67d8474

Browse files
committed
Don't blow up if the wallet is missing
1 parent 9d9c30d commit 67d8474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/agent/src/index.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export async function createAgent(
223223
plugins: [
224224
bootstrapPlugin,
225225
nodePlugin,
226-
character.settings.secrets.WALLET_PUBLIC_KEY
226+
character.settings.secrets?.WALLET_PUBLIC_KEY
227227
? solanaPlugin
228228
: null
229229
].filter(Boolean),

0 commit comments

Comments
 (0)