Skip to content

Commit

Permalink
make ownership key pub
Browse files Browse the repository at this point in the history
  • Loading branch information
CyberHoward committed Aug 14, 2024
1 parent 9969bfc commit 45dcbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ownable/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ pub enum OwnershipError {
}

/// Storage constant for the contract's ownership
const OWNERSHIP_KEY: &str = "ownership";
pub const OWNERSHIP_KEY: &str = "ownership";
const OWNERSHIP: OwnershipStore = OwnershipStore::new(OWNERSHIP_KEY);

/// Set the given address as the contract owner.
Expand Down

0 comments on commit 45dcbfd

Please sign in to comment.