iota.py icon indicating copy to clipboard operation
iota.py copied to clipboard

#344 changes in 02_send_data.py

Open fprotopapa opened this issue 4 years ago • 0 comments

Description of change

Changes are:

  1. Removed 'devnet' keyword in Iota(...) because not a known argument
  2. Add length of 81 to random address generation, because call needs length passed as argument
  3. Node expects 9 as min. weight magnitude, therefore added as argument to send_transfer call
  4. 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/or docstrings in source code)
  • [ ] I have followed PEP-8 Style Guide in my code.
  • [ ] New and existing unit tests pass locally with my changes

fprotopapa avatar Oct 22 '21 19:10 fprotopapa