Skip to content

Commit

Permalink
fix: unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
shakkernerd committed Dec 28, 2024
1 parent 085182e commit c9a93e8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/plugin-avalanche/src/providers/strategies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { IAgentRuntime, Memory, Provider, State } from "@elizaos/core";
import { STRATEGY_ADDRESSES } from "../utils/constants";

const strategiesProvider: Provider = {
get: async (runtime: IAgentRuntime, message: Memory, state?: State) => {
get: async (_runtime: IAgentRuntime, _message: Memory, _state?: State) => {
console.log("strategiesProvider::get");
const strategies = Object.entries(STRATEGY_ADDRESSES)
.map(([key, value]) => `${key}: ${value}`)
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-avalanche/src/providers/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { IAgentRuntime, Memory, Provider, State } from "@elizaos/core";
import { TOKEN_ADDRESSES } from "../utils/constants";

const tokensProvider: Provider = {
get: async (runtime: IAgentRuntime, message: Memory, state?: State) => {
get: async (_runtime: IAgentRuntime, _message: Memory, _state?: State) => {
console.log("tokensProvider::get");
const tokens = Object.entries(TOKEN_ADDRESSES)
.map(([key, value]) => `${key}: ${value}`)
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-avalanche/src/providers/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getAccount, getDecimals, getTokenBalance } from "../utils";
import { STRATEGY_ADDRESSES, TOKEN_ADDRESSES } from "../utils/constants";

const walletProvider: Provider = {
get: async (runtime: IAgentRuntime, message: Memory, state?: State) => {
get: async (runtime: IAgentRuntime, _message: Memory, _state?: State) => {
console.log("walletProvider::get");
const privateKey = runtime.getSetting("AVALANCHE_PRIVATE_KEY");
if (!privateKey) {
Expand Down

0 comments on commit c9a93e8

Please sign in to comment.