Skip to content
This repository was archived by the owner on Jan 13, 2023. It is now read-only.

Conversation

@szepnapot
Copy link
Contributor

@szepnapot szepnapot commented Sep 29, 2017

Fixes #72

@todofixthis
Copy link
Contributor

Hey @szepnapot! Thanks for your pull request!

I will have a look at this later today.

Copy link
Contributor

@todofixthis todofixthis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like we could make this even simpler.

What if we just made Transfer an alias for ProposedTransaction?

class ProposedTransaction(Transaction):
  ...

Transfer = ProposedTransaction
"""
Follow naming convention of other libs.
https://github.com/iotaledger/iota.lib.py/issues/72
"""

That way, we don't have to keep the two initialiser functions in sync if we make changes to ProposedTransaction.

@szepnapot
Copy link
Contributor Author

True! I'll modify according to it. Thanks the review :)

@szepnapot
Copy link
Contributor Author

szepnapot commented Sep 30, 2017

Changed as suggested :)

@todofixthis
Copy link
Contributor

Thanks! I'll have a look this evening.

Copy link
Contributor

@todofixthis todofixthis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks!! Merging now.

@todofixthis todofixthis merged commit b1e3a7d into iotaledger-archive:develop Oct 3, 2017
marko-k0 pushed a commit to marko-k0/iota.lib.py that referenced this pull request Jul 28, 2018
fix transfer = ProposedTransaction(...) naming convention doesn't follow other libs iotaledger-archive#72
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants