Skip to content

Commit

Permalink
fix in tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
agustinjch committed Dec 9, 2024
1 parent e9e4495 commit 9d6827a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/strategies/botto-dao-base/examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"0x58787f1659b2fd8853918dab6d4a1565569e6044",
"0x7dbc5f88986db946f1d5987edfbf9c6917230fa2"
],
"snapshot": 20190843
"snapshot": 23250193
}
]
4 changes: 2 additions & 2 deletions src/strategies/botto-dao-base/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export async function strategy(
addresses,
options,
snapshot
): Promise<Record<string, number>[]> {
): Promise<Record<string, number>> {
const blockTag = typeof snapshot === 'number' ? snapshot : 'latest';
const _formatUnits = (value) =>
parseFloat(formatUnits(value, options.decimals));
Expand All @@ -43,5 +43,5 @@ export async function strategy(
})
);

return [result];
return result;
}

0 comments on commit 9d6827a

Please sign in to comment.