Add more information in transactions docstrings

pull/1/head
Mark Veidemanis 3 years ago
parent 7c8f77df40
commit 61d48b9bfe
Signed by: m
GPG Key ID: 5ACFCEED46C0904F

@ -27,6 +27,10 @@ class Transactions(object):
"""
def __init__(self):
"""
Initialise the Transaction object.
Set the logger.
"""
self.log = Logger("transactions")
def set_agora(self, agora):
@ -84,6 +88,7 @@ class Transactions(object):
:type reference: string
:type amount: int
:return: transaction details or AMOUNT_INVALID, or False
:rtype: dict or string or bool
"""
all_transactions = r.scan(0, match="tx.*")
for tx_iter in all_transactions[1]:

Loading…
Cancel
Save