Skip to content

Commit afd202a

Browse files
committed
hm
1 parent 57042dd commit afd202a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

target_chains/aptos/contracts/sources/governance/governance_action.move

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ module pyth::governance_action {
1111
value: u8,
1212
}
1313

14+
#[lint::skip(unnecessary_numerical_extreme_comparison)]
1415
public fun from_u8(value: u8): GovernanceAction {
1516
assert!(CONTRACT_UPGRADE <= value && value <= SET_STALE_PRICE_THRESHOLD, error::invalid_governance_action());
1617
GovernanceAction { value }

0 commit comments

Comments
 (0)