summaryrefslogtreecommitdiff
path: root/esds/simulator.py
diff options
context:
space:
mode:
Diffstat (limited to 'esds/simulator.py')
-rw-r--r--esds/simulator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/esds/simulator.py b/esds/simulator.py
index fcc759b..b3bbfc2 100644
--- a/esds/simulator.py
+++ b/esds/simulator.py
@@ -424,7 +424,7 @@ class Simulator:
if dst["state"] == "call_blocking" and dst["request"] == "receive":
dst["interfaces_queue_size"][interface]-=1
dst["state"]="running"
- dst.rqueue.put(("receive",RCode.SUCCESS))
+ dst.rqueue.put(("receive",rcode))
self.sync_node_non_blocking(dst,timeout_remove_only=True)
self.notify_node_plugins(dst, "on_communication_end", event)
self.update_sharing(dst.node_id,-1,interface)