mochimo icon indicating copy to clipboard operation
mochimo copied to clipboard

Suggestion: When running Mojo.jar "expand" command, expand_size parameter documentation and default value..

Open jbreeher opened this issue 5 years ago • 1 comments

Doc states that

" expand_size Number of address to generate Default: 0"

But when you run the command without specifying an expand_size you get:

java -jar mojo.jar expand -p "TestWallet1" testwallet1.mcm

Missing required parameter: expand_size

Currently, defaulting the value has no effect, since omitting the value causes the command to fail. Either simply require expand_size or remove the reference to default value. If the expand size is ommitted it should default to a number other than 0, which would do nothing. Possibly a 1 for automation (you expand the size before performing a transaction), thus always knowing there is available space.

jbreeher avatar Feb 24 '21 02:02 jbreeher

@0rtis this is a good quality of life adjustment for mojo, when you have time to adjust it

mochimodev avatar Mar 01 '21 19:03 mochimodev