Samourai-Wallet / whirlpool-client-cli

Command line Whirlpool client
Other
16 stars 13 forks source link

API documentation incorrectly states argument 'mixsTarget' as optional #12

Closed Technifocal closed 5 years ago

Technifocal commented 5 years ago

In README-API.md it states that mixsTarget is optional for /tx0:

mixsTarget (optional): override utxo's mixsTarget

Unfortunately this throws an error:

java.lang.NullPointerException: null
    at com.samourai.whirlpool.cli.api.controllers.utxo.UtxoController.tx0(UtxoController.java:77) ~[classes!/:na]
[...stack trace...]

NullPointerException is thrown here

Sending mixsTarget allows the UTXO to be tx0'd as normal.

zeroleak commented 5 years ago

thanks for the report, it will be optional in next release

zeroleak commented 5 years ago

fixed in CLI 0.9.0