Skip to content

Mutually exclusion options tests on tx are not properly defined

The tests checking the CLI tx on mutually exclusion options (amount(s)(UD)/allSources) is not properly done. On !108 (merged), when we changed the options’ name from amount(UD) to amounts(UD), we were not able see a broken feature (mutual exclusions)

The feature is tested by checking that it is failing on the missing --output/recipients option. And, it looks like this is the first error to occur much before the mutual exclusion check.

To test this propely, we would need to pass -r option as well, then we should find a way to check/bypass the Scrypt authentication inputs.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information