Add more information in transactions docstrings
This commit is contained in:
parent
7c8f77df40
commit
61d48b9bfe
|
@ -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…
Reference in New Issue