Skip to content

Commit

Permalink
feat: add custodian
Browse files Browse the repository at this point in the history
  • Loading branch information
agustinustheo committed Aug 15, 2024
1 parent 6043df3 commit c86427d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/icp_subaccount_indexer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,8 @@ async fn post_upgrade() {
ic_cdk::println!("running post_upgrade...");

let custodian_principal =
Principal::from_text("custodian_principal").expect("Invalid custodian principal");
Principal::from_text("a6nt4-w4isk-ugybk-trfuq-42piz-fnsxq-jenv4-hnruq-j2xaz-jdipw-uae")
.expect("Invalid custodian principal");

CUSTODIAN_PRINCIPAL.with(|principal_ref| {
let stored_principal = StoredPrincipal::new(custodian_principal);
Expand Down

0 comments on commit c86427d

Please sign in to comment.