Start implementation of revoke action

This commit is contained in:
Jan Dittberner 2021-01-04 20:39:35 +01:00
parent 38566f35ef
commit 2de9771472
9 changed files with 739 additions and 57 deletions

View file

@ -43,7 +43,7 @@ func (p *PortHandler) MainLoop() {
return
}
log.Debugf("received command %v", command)
response, err := p.processor.Process(*command)
response, err := p.processor.Process(command)
if err != nil {
log.Errorf("error processing command: %v", err)
close(p.commandChan)
@ -207,6 +207,6 @@ func NewSignerProcess(port io.ReadWriteCloser) *PortHandler {
port: port,
errors: errorChan,
commandChan: make(chan *datastructures.SignerRequest, 1),
processor: &CommandProcessor{},
processor: NewCommandProcessor(),
}
}