iota.py
iota.py copied to clipboard
#344 changes in 02_send_data.py
Description of change
Changes are:
- Removed 'devnet' keyword in Iota(...) because not a known argument
- Add length of 81 to random address generation, because call needs length passed as argument
- Node expects 9 as min. weight magnitude, therefore added as argument to send_transfer call
- changed URL to check transaction to https://explorer.iota.org/legacy-devnet/transaction/%s Fixing # (344).
Type of change
Choose a type of change, and delete any options that are not relevant.
- Documentation Fix
How the change has been tested
PyOTA Version: 2.1.0 Python Version: 3.8.8
Tested script locally, data is attached: https://explorer.iota.org/legacy-devnet/transaction/RUXNMQXLCJ9FZNGZFFWYXZUISGAUQDFVWGOVEMUACGJWXQGEUZHFFWHKIRZLYVEIPLVEBEH9YOEBRZ999
Make sure to provide instructions for the maintainer as well as any relevant configurations.
Change checklist
Add an x to the boxes that are relevant to your changes, and delete any items that are not.
- [X] My code follows the contribution guidelines for this project
- [X] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation (
docs/directory and/ordocstrings in source code) - [ ] I have followed PEP-8 Style Guide in my code.
- [ ] New and existing unit tests pass locally with my changes