UnRegisterActor cancels the actor with the actor type.
(actor tc.ActorType)
| 392 | |
| 393 | // UnRegisterActor cancels the actor with the actor type. |
| 394 | func (s *TXPoolServer) UnRegisterActor(actor tc.ActorType) { |
| 395 | delete(s.actors, actor) |
| 396 | } |
| 397 | |
| 398 | // registerValidator registers a validator to verify a transaction. |
| 399 | func (s *TXPoolServer) registerValidator(v *types.RegisterValidator) { |