Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
0xOmarA committed May 1, 2024
1 parent fad88b9 commit 8952959
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions radix-substate-store-queries/src/typed_substate_layout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ pub enum TypedMainModuleSubstateKey {
NonFungibleVault(NonFungibleVaultTypedSubstateKey),
ConsensusManager(ConsensusManagerTypedSubstateKey),
ValidatorField(ValidatorTypedSubstateKey),
AccessController(AccessControllerV2ypedSubstateKey),
AccessController(AccessControllerV2TypedSubstateKey),
Account(AccountTypedSubstateKey),
OneResourcePool(OneResourcePoolTypedSubstateKey),
TwoResourcePool(TwoResourcePoolTypedSubstateKey),
Expand Down Expand Up @@ -303,7 +303,7 @@ fn to_typed_object_substate_key_internal(
ValidatorTypedSubstateKey::for_key_at_partition_offset(partition_offset, substate_key)?,
),
EntityType::GlobalAccessController => TypedMainModuleSubstateKey::AccessController(
AccessControllerV2ypedSubstateKey::for_key_in_partition(
AccessControllerV2TypedSubstateKey::for_key_in_partition(
&AccessControllerPartitionOffset::try_from(partition_offset)?,
substate_key,
)?,
Expand Down Expand Up @@ -430,7 +430,7 @@ pub enum TypedMainModuleSubstateValue {
NonFungibleVault(NonFungibleVaultTypedSubstateValue),
ConsensusManager(ConsensusManagerTypedSubstateValue),
Validator(ValidatorTypedSubstateValue),
AccessController(AccessControllerV2ypedSubstateValue),
AccessController(AccessControllerV2TypedSubstateValue),
Account(AccountTypedSubstateValue),
OneResourcePool(OneResourcePoolTypedSubstateValue),
TwoResourcePool(TwoResourcePoolTypedSubstateValue),
Expand Down Expand Up @@ -567,7 +567,7 @@ fn to_typed_object_substate_value(
),
TypedMainModuleSubstateKey::AccessController(key) => {
TypedMainModuleSubstateValue::AccessController(
AccessControllerV2ypedSubstateValue::from_key_and_data(key, data)?,
AccessControllerV2TypedSubstateValue::from_key_and_data(key, data)?,
)
}
TypedMainModuleSubstateKey::GenericScryptoComponentField(offset) => {
Expand Down

0 comments on commit 8952959

Please sign in to comment.