bitshares / uptick

Python-based CLI tool set for BitShares blockchain
MIT License
42 stars 27 forks source link

newfeed command not processing --account option #6

Closed ryanRfox closed 7 years ago

ryanRfox commented 7 years ago

Given:

  1. Fresh install of uptick
  2. uptick addkey <5myWitnessSigningKey>
  3. uptick addkey <5myOwnerKey>
  4. uptick listaccounts | n/a | BTSmyWitnessPubKey | | fox | BTSmyPubKey |
  5. uptick newfeed --account fox USD 0.05 USD/BTS ERROR: You must supply an account

Workaround: Set the default_account to the uptick configuration:

  1. `uptick set default_account fox
  2. uptick newfeed USD 0.05 USD/BTS SUCCESS
ryanRfox commented 7 years ago

I noticed that when supplying the WitnessSignigKey first, uptick does not set the 'default_account' for configuration. This is understandable, as this key does not have an account associated.