Skip to content

Commit

Permalink
Merge pull request #8 from aoikurokawa/master
Browse files Browse the repository at this point in the history
Tip Router: Change `ncn.admin` to `ncn_weight_table_admin`
  • Loading branch information
coachchucksol authored Nov 15, 2024
2 parents ef43e55 + 7678548 commit e26f7e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program/src/admin_update_weight_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub fn process_admin_update_weight_table(
let ncn_weight_table_admin = {
let ncn_data = ncn.data.borrow();
let ncn = Ncn::try_from_slice_unchecked(&ncn_data)?;
ncn.admin
ncn.weight_table_admin
};

load_signer(weight_table_admin, true)?;
Expand Down

0 comments on commit e26f7e1

Please sign in to comment.