completed unification of single pending response handling

This commit is contained in:
херетик
2023-01-29 13:46:51 +00:00
parent aa4de6debd
commit f17cf54553
12 changed files with 45 additions and 396 deletions

View File

@@ -40,7 +40,6 @@ func (en *Engine) response(on *response.Layer, b slice.Bytes,
MilliSatoshi(len(b))/1024/1024)
}
}
pending.Callback(on.ID, on.Bytes)
en.Pending.Delete(on.ID)
en.Pending.Delete(on.ID, on.Bytes)
}
}