Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
0xripleys committed Oct 31, 2024
1 parent ca516a6 commit f9f9052
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion contracts/sources/hooks/weight.move
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,12 @@ module liquid_staking::weight {
admin_cap
}

public fun admin_cap<P>(self: &WeightHook<P>): &AdminCap<P> {
public fun admin_cap<P>(
self: &WeightHook<P>,
_: &WeightHookAdminCap<P>
): &AdminCap<P> {
self.version.assert_version(CURRENT_VERSION);

&self.admin_cap
}
}

0 comments on commit f9f9052

Please sign in to comment.