From ed267821142440456311e03c0333c7749e9addc2 Mon Sep 17 00:00:00 2001 From: Mahendra Date: Fri, 6 Apr 2018 18:12:57 +0530 Subject: [PATCH] Add docstring in helper_ackPayload --- src/helper_ackPayload.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/helper_ackPayload.py b/src/helper_ackPayload.py index bd595324..acdbadf7 100644 --- a/src/helper_ackPayload.py +++ b/src/helper_ackPayload.py @@ -1,3 +1,5 @@ +"""This module is for generating ack payload.""" + import highlevelcrypto import helper_random from binascii import hexlify @@ -13,6 +15,7 @@ from addresses import encodeVarint def genAckPayload(streamNumber=1, stealthLevel=0): + """Generate and return payload obj.""" if (stealthLevel == 2): # Generate privacy-enhanced payload # Generate a dummy privkey and derive the pubkey dummyPubKeyHex = highlevelcrypto.privToPub(