(author identity.Interface, toRemove ...identity.Interface)
| 147 | } |
| 148 | |
| 149 | func NewRemoveAdministratorOp(author identity.Interface, toRemove ...identity.Interface) *RemoveAdministrator { |
| 150 | return &RemoveAdministrator{ |
| 151 | OpBase: dag.NewOpBase(RemoveAdministratorOp, author, time.Now().Unix()), |
| 152 | ToRemove: toRemove, |
| 153 | } |
| 154 | } |
| 155 | |
| 156 | func (ra *RemoveAdministrator) Id() entity.Id { |
| 157 | // the Id of the operation is the hash of the serialized data. |
no test coverage detected