Skip to content

Commit

Permalink
Make the function not async
Browse files Browse the repository at this point in the history
  • Loading branch information
derekchiang committed Feb 1, 2024
1 parent 98f3e44 commit aad84eb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/weighted-ecdsa/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zerodev/weighted-ecdsa-validator",
"version": "5.0.0-beta.5",
"version": "5.0.0-beta.6",
"author": "ZeroDev",
"main": "./_cjs/index.js",
"module": "./_esm/index.js",
Expand Down
8 changes: 5 additions & 3 deletions plugins/weighted-ecdsa/toWeightedECDSAValidatorPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,9 +256,11 @@ export async function createWeightedECDSAValidator<
}
}

export async function getUpdateConfigCall(
newConfig: WeightedECDSAValidatorConfig
): Promise<{ to: Address; value: bigint; data: Hex }> {
export function getUpdateConfigCall(newConfig: WeightedECDSAValidatorConfig): {
to: Address
value: bigint
data: Hex
} {
return {
to: WEIGHTED_ECDSA_VALIDATOR_ADDRESS,
value: 0n,
Expand Down

0 comments on commit aad84eb

Please sign in to comment.