Skip to content

Commit 40c9b9e

Browse files
committed
cleanup
1 parent 83a3cca commit 40c9b9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: packages/cw721/src/state.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use cosmwasm_std::{
33
from_json, to_json_binary, Addr, Binary, BlockInfo, Decimal, Deps, Empty, Env, MessageInfo,
44
StdResult, Storage, Timestamp,
55
};
6-
use cw_ownable::{OwnershipStore, OWNERSHIP_KEY};
6+
use cw_ownable::{OwnershipStore, OWNERSHIP};
77
use cw_storage_plus::{Index, IndexList, IndexedMap, Item, Map, MultiIndex};
88
use cw_utils::Expiration;
99
use serde::de::DeserializeOwned;
@@ -16,7 +16,7 @@ use crate::{traits::StateFactory, NftExtensionMsg};
1616
/// !!! Important note here: !!!
1717
/// - creator is stored using using cw-ownable's OWNERSHIP singleton, so it is not stored here
1818
/// - in release v0.18.0 it was used for minter (which is confusing), but now it is used for creator
19-
pub const CREATOR: OwnershipStore = OwnershipStore::new(OWNERSHIP_KEY);
19+
pub const CREATOR: OwnershipStore = OWNERSHIP;
2020
/// - minter is stored in the contract storage using cw_ownable::OwnershipStore (same as for OWNERSHIP but with different key)
2121
pub const MINTER: OwnershipStore = OwnershipStore::new("collection_minter");
2222

0 commit comments

Comments
 (0)