Skip to content

Commit

Permalink
Update aptos-move/framework/aptos-framework/sources/permissioned_sign…
Browse files Browse the repository at this point in the history
…er.move

Co-authored-by: Aaron <[email protected]>
  • Loading branch information
runtian-zhou and lightmark authored Jan 15, 2025
1 parent da38949 commit 55cbb90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ module aptos_framework::permissioned_signer {
/// check if StoredPermission has at least `threshold` capacity.
fun is_above(perm: &StoredPermission, threshold: u256): bool {
match (perm) {
StoredPermission::Capacity(capacity) => *capacity > threshold,
StoredPermission::Capacity(capacity) => *capacity >= threshold,
StoredPermission::Unlimited => true,
}
}
Expand Down

0 comments on commit 55cbb90

Please sign in to comment.