Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI "tx_transfer" not auto advancing through OTS keys #1606

Open
fr1t2 opened this issue Dec 24, 2018 · 0 comments
Open

CLI "tx_transfer" not auto advancing through OTS keys #1606

fr1t2 opened this issue Dec 24, 2018 · 0 comments

Comments

@fr1t2
Copy link
Member

fr1t2 commented Dec 24, 2018

Describe the bug
When using the tx_transfer command on the cli with a newly created and funded wallet, the command consumes OTS key 1 and will not advance automatically. After the first TX the command fails on key reuse. Manually adding --ots_key_index INTEGER flag of an unused OTS key in the tree will succeed.

To Reproduce
Steps to reproduce the behavior:

  1. Create new wallet using qrl wallet_add
  2. Fund new address with quanta
  3. Send funds to another address using the newly created wallet using qrl tx_transfer on command line
  4. transaction is signed with OTS key 1 and brodcast to the network successfully
  5. Send another transaction using qrl tx_transfer
  6. Transaction fails on a key reuse error, never printing the failure to the terminal

Expected behavior
The expected behavior is to use the first key of the tree, then advance through the OTS bit field array consuming all available keys.

Desktop (please complete the following information):

  • Ubuntu 18.04.1 LTS (Bionic Beaver)
  • Version QRL 1.1.10 python

Additional context
The transaction succeeds if you also supply the --ots_key_index INTEGER flag manually calling an unused key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants