File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
contract/AElf.Contracts.MultiToken Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -882,6 +882,8 @@ public override Empty BatchAddToTransferBlackList(BatchAddToTransferBlackListInp
882882
883883 public override Empty RemoveFromTransferBlackList ( Address input )
884884 {
885+ // Removing from transfer blacklist requires higher security and response speed is not critical,
886+ // so it should be controlled by Parliament.
885887 AssertSenderAddressWith ( GetDefaultParliamentController ( ) . OwnerAddress ) ;
886888 Assert ( input != null && ! input . Value . IsNullOrEmpty ( ) , "Invalid address." ) ;
887889 State . TransferBlackList [ input ] = false ;
@@ -890,6 +892,8 @@ public override Empty RemoveFromTransferBlackList(Address input)
890892
891893 public override Empty BatchRemoveFromTransferBlackList ( BatchRemoveFromTransferBlackListInput input )
892894 {
895+ // Removing from transfer blacklist requires higher security and response speed is not critical,
896+ // so it should be controlled by Parliament.
893897 AssertSenderAddressWith ( GetDefaultParliamentController ( ) . OwnerAddress ) ;
894898 Assert ( input != null && input . Addresses != null && input . Addresses . Count > 0 , "Invalid input." ) ;
895899
You can’t perform that action at this time.
0 commit comments