Skip to content

Fix `amount` cmd in case `--gtest` is passed

Problem

# silkaj/money.py
def cmd_amount
   if not cli_args.subsubcmd.startswith("--"):

Previous condition is here to separate authentication methods from pubkeys passed as arguments. But, if we pass --gtest option, we are asked with an authentication method.

Solution

  • condition --auth-
Edited by Moul
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information