diff --git a/iota/transaction/creation.py b/iota/transaction/creation.py index c0875fe2..841bf62a 100644 --- a/iota/transaction/creation.py +++ b/iota/transaction/creation.py @@ -20,6 +20,7 @@ __all__ = [ 'ProposedBundle', 'ProposedTransaction', + 'Transfer', ] @@ -80,6 +81,13 @@ def as_tryte_string(self): return super(ProposedTransaction, self).as_tryte_string() +Transfer = ProposedTransaction +""" +Follow naming convention of other libs. +https://github.com/iotaledger/iota.lib.py/issues/72 +""" + + class ProposedBundle(Bundle, Sequence[ProposedTransaction]): """ A collection of proposed transactions, to be treated as an atomic