|
@@ -828,8 +828,8 @@ if __name__ == '__main__':
|
|
|
peerchannel.new_circuit_with_circid(circid)
|
|
|
relays[3].channelmgr.send_cell(circid, StringCell("test"), relays[5].netaddr)
|
|
|
|
|
|
- idpubkey = dirauth.DirAuth.consensus.consdict["relays"][1].descdict["idkey"]
|
|
|
- onionpubkey = dirauth.DirAuth.consensus.consdict["relays"][1].descdict["onionkey"]
|
|
|
+ idpubkey = relays[1].idkey.verify_key
|
|
|
+ onionpubkey = relays[1].onionkey.public_key
|
|
|
nt = NTor(perfstats)
|
|
|
req = nt.request()
|
|
|
R, S = NTor.reply(relays[1].onionkey, idpubkey, req, perfstats)
|