Skip to content

Commit 8980551

Browse files
authoredNov 13, 2024
Merge pull request #281 from ferric-sol/wallet-fix
Don't blow up if the wallet is missing
2 parents 1422736 + 67d8474 commit 8980551

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)