Clarify failed to buffer msg. Make retransmits debug. Don't send if we know it's going to fail

This commit is contained in:
Paul Lorenz
2021-02-05 15:00:55 -05:00
parent 9aff04e64c
commit f1c41cfcf8
7 changed files with 151 additions and 272 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ func (h *createTerminatorHandler) HandleReceive(msg *channel2.Message, ch channe
Cost: uint16(request.Cost),
}
if id, err := h.network.CreateTerminator(terminator, request.ExtensionData); err == nil {
if id, err := h.network.Terminators.Create(terminator); err == nil {
pfxlog.Logger().Infof("created terminator [t/%s]", id)
handler_common.SendSuccess(msg, ch, id)
} else {