snake_cased replySURBs (#322)

This commit is contained in:
Jędrzej Stuczyński
2020-09-08 13:11:22 +01:00
committed by GitHub
parent 80d01f1f75
commit ae40b0d857
10 changed files with 24 additions and 29 deletions
@@ -55,13 +55,13 @@ async def send_text_with_reply():
print("received '{}' from the mix network".format(received_message))
# use the received surb to send an anonymous reply!
reply_surb = received_message["replySURB"]
reply_surb = received_message["replySurb"]
reply_message = "hello from reply SURB!"
reply = json.dumps({
"type": "reply",
"message": reply_message,
"replySURB": reply_surb
"replySurb": reply_surb
})
print("sending '{}' (using reply SURB!) over the mix network...".format(reply_message))