Skip to content

Commit

Permalink
Merge pull request #962 from 0xAsten/patch-1
Browse files Browse the repository at this point in the history
fix(agent): correct EVM plugin activation condition
  • Loading branch information
odilitime authored Dec 10, 2024
2 parents 61d02ae + 497a743 commit 9d3ab4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ export function createAgent(
: null,
getSecret(character, "EVM_PRIVATE_KEY") ||
(getSecret(character, "WALLET_PUBLIC_KEY") &&
!getSecret(character, "WALLET_PUBLIC_KEY")?.startsWith("0x"))
getSecret(character, "WALLET_PUBLIC_KEY")?.startsWith("0x"))
? evmPlugin
: null,
getSecret(character, "ZEROG_PRIVATE_KEY") ? zgPlugin : null,
Expand Down

0 comments on commit 9d3ab4c

Please sign in to comment.