minor fixes and cleanups

This commit is contained in:
The MMGen Project 2025-06-21 11:14:04 +00:00
commit 46f3f4884d
Signed by: mmgen
GPG key ID: 3F8B1861E32B7DA2
3 changed files with 2 additions and 4 deletions

View file

@ -25,7 +25,6 @@ from .util import msg, ymsg, suf, die, async_run
from .subseed import SubSeedIdxRange
from .color import orange
# -w, --use-wallet-dat (keys from running coin daemon) removed: use walletdump rpc instead
opts_data = {
'sets': [('yes', True, 'quiet', True)],
'text': {

View file

@ -41,7 +41,6 @@ def pop_seedfiles(cfg, *, ignore_dfl_wallet=False, empty_ok=False):
if not (ret
or empty_ok
or cfg.mmgen_keys_from_file
# or cfg.use_wallet_dat
or cfg.keys_from_file):
die(1, 'You must specify a seed or key source!')
return ret

View file

@ -22,8 +22,8 @@ run_test() {
while read skip test; do
[ "$test" ] || continue
echo "${!skips}" | grep -q $skip && continue
tests[${#tests[@]}]="$test"
echo "${!skips}" | grep -q "\<$skip\>" && continue
tests+=("$test")
done <<<${!tests_in}
for test in "${tests[@]}"; do