[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] Add Result ed25519 attr to V3BwLine
commit fc3716a02699a54454a880d347c650dbca8bfd92
Author: juga0 <juga@xxxxxxxxxx>
Date: Mon Jun 11 09:32:30 2018 +0000
Add Result ed25519 attr to V3BwLine
---
sbws/lib/v3bwfile.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sbws/lib/v3bwfile.py b/sbws/lib/v3bwfile.py
index 27476c6..9a2dfdd 100644
--- a/sbws/lib/v3bwfile.py
+++ b/sbws/lib/v3bwfile.py
@@ -336,6 +336,8 @@ class V3BWLine(object):
bw = cls.bw_from_results(success_results)
kwargs = dict()
kwargs['nick'] = results[0].nickname
+ if getattr(results[0], 'ed25519_master_key'):
+ kwargs['master_key_ed25519'] = results[0].ed25519_master_key
kwargs['rtt'] = cls.rtt_from_results(success_results)
kwargs['time'] = cls.last_time_from_results(results)
kwargs.update(cls.result_types_from_results(results))
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits