fix: 修改合约状态时,应检查setState的权限(CheckPermissionOfSetStateContract)

This commit is contained in:
brightestboy 2021-11-02 09:24:58 +08:00
parent 500d515c62
commit 8f28345455

View File

@ -274,7 +274,7 @@ abstract class Sandbox(cid: ChaincodeId) extends Actor {
ContraceIsExist(txcid)
//检查合约部署者以及权限
if(IdTool.isDidContract){
permissioncheck.CheckPermissionOfDeployContract(dotrans,shim)
permissioncheck.CheckPermissionOfSetStateContract(dotrans,shim)
}else{
IsCurrentSigner(dotrans)
}