Skip to content

Commit

Permalink
Merge pull request #1918 from klembee/main
Browse files Browse the repository at this point in the history
Fixed the name of the role when calling set_burnable()
  • Loading branch information
dhedey committed Sep 16, 2024
2 parents d26bc86 + 2d47c00 commit 97aeddc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scrypto/src/resource/resource_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ impl ResourceManager {
}

pub fn set_burnable(&self, access_rule: AccessRule) {
self.0.set_role(RESOURCE_MANAGER_BURN_IDENT, access_rule);
self.0.set_role(BURNER_ROLE, access_rule);
}

pub fn set_withdrawable(&self, access_rule: AccessRule) {
Expand Down

0 comments on commit 97aeddc

Please sign in to comment.