Account Roles Permission 3 - Add Op check
This commit is contained in:
parent
e82df9ce49
commit
0d1cd54081
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ namespace graphene
|
||||||
FC_ASSERT(block_time >= HARDFORK_NFT_TIME, "Custom permissions and roles not allowed on this operation yet!");
|
FC_ASSERT(block_time >= HARDFORK_NFT_TIME, "Custom permissions and roles not allowed on this operation yet!");
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
FC_ASSERT(op_type < first_allowed_op, "Custom permissions and roles not allowed on this operation!");
|
FC_ASSERT(op_type >= operation::tag<transfer_operation>::value && op_type < first_allowed_op, "Custom permissions and roles not allowed on this operation!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue