Skip to content

Commit

Permalink
fix: Use latest storage keys
Browse files Browse the repository at this point in the history
  • Loading branch information
morgsmccauley committed Feb 5, 2024
1 parent 164af1d commit 4505d27
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions registry/contract/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ pub struct AccountRole {
impl Default for Contract {
fn default() -> Self {
Self {
registry: IndexersByAccount::new(StorageKeys::Registry),
registry: IndexersByAccount::new(StorageKeys::RegistryV3),
account_roles: vec![
AccountRole {
account_id: "morgs.near".parse().unwrap(),
Expand Down Expand Up @@ -297,7 +297,7 @@ impl Contract {
let account_indexers =
self.registry
.entry(account_id.clone())
.or_insert(IndexerConfigByFunctionName::new(StorageKeys::Account(
.or_insert(IndexerConfigByFunctionName::new(StorageKeys::AccountV3(
env::sha256_array(account_id.as_bytes()),
)));

Expand Down

0 comments on commit 4505d27

Please sign in to comment.