Fixed missing establishment_rate property init on Link

This commit is contained in:
Mark Qvist 2024-09-04 10:32:54 +02:00
parent 7f2154110c
commit 3f64141455
1 changed files with 1 additions and 0 deletions

View File

@ -142,6 +142,7 @@ class Link:
raise TypeError("Links can only be established to the \"single\" destination type") raise TypeError("Links can only be established to the \"single\" destination type")
self.rtt = None self.rtt = None
self.establishment_cost = 0 self.establishment_cost = 0
self.establishment_rate = None
self.callbacks = LinkCallbacks() self.callbacks = LinkCallbacks()
self.resource_strategy = Link.ACCEPT_NONE self.resource_strategy = Link.ACCEPT_NONE
self.outgoing_resources = [] self.outgoing_resources = []