mirror of
https://gitee.com/BTAJL/repchain.git
synced 2024-11-30 02:38:24 +08:00
fix: 修改合约状态时,应检查setState的权限(CheckPermissionOfSetStateContract)
This commit is contained in:
parent
500d515c62
commit
8f28345455
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user