Skip to content

Commit c5d6a26

Browse files
committed
Fix: nftregistry import
1 parent af4fa62 commit c5d6a26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/r/pierre115/gnopensea/gnopensea.gno

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ func CreateListing(_ realm, nftRealmAddress address, tokenId grc721.TokenID, pri
3939
}
4040

4141
// Check if collection is registered in the GLOBAL NFT Registry
42-
if !nftregistry8.IsRegistered(nftRealmAddress) {
42+
if !nftregistry.IsRegistered(nftRealmAddress) {
4343
panic("NFT collection not registered in the global NFT Registry. The collection must call nftregistry.RegisterCollection() first.")
4444
}
4545

4646
// Get NFT getter from the global registry
47-
getter, exists := nftregistry8.GetNFTGetter(nftRealmAddress)
47+
getter, exists := nftregistry.GetNFTGetter(nftRealmAddress)
4848
if !exists {
4949
panic("Failed to get NFT getter from registry")
5050
}

0 commit comments

Comments
 (0)