Skip to content

@gala-chain/chaincodeAPI


API > ensureChaincodeIsAllowed

Function: ensureChaincodeIsAllowed()

ensureChaincodeIsAllowed(chaincode, allowedChaincodes): void

Parameters

chaincode: string

allowedChaincodes: string[]

Source

chaincode/src/contracts/authorize.ts:97