Update examples/deploy_contract/main.go
@@ -213,7 +213,7 @@ func GenerateGetNFTIDScript(nftCodeAddr, userAddr flow.Address) []byte {
pub fun main(): Int {
let acct = getAccount(0x%s)
- let nft = acct.getCapability(from: /public/GreatNFT)!.borrow<&GreatToken.GreatNFT>()!
+ let nft = acct.getCapability(/public/GreatNFT)!.borrow<&GreatToken.GreatNFT>()!
return nft.id()
}
