|
|
|
@ -884,9 +884,8 @@ def open_test_wallet_maybe(path, seed, max_mixdepth, |
|
|
|
test_wallet_cls.initialize( |
|
|
|
test_wallet_cls.initialize( |
|
|
|
storage, get_network(), max_mixdepth=max_mixdepth, |
|
|
|
storage, get_network(), max_mixdepth=max_mixdepth, |
|
|
|
entropy=seed) |
|
|
|
entropy=seed) |
|
|
|
assert 'ask_for_password' not in kwargs or\ |
|
|
|
assert 'ask_for_password' not in kwargs |
|
|
|
not kwargs['ask_for_password'] |
|
|
|
assert 'read_only' not in kwargs |
|
|
|
assert 'read_only' not in kwargs or not kwargs['read_only'] |
|
|
|
|
|
|
|
return test_wallet_cls(storage, **kwargs) |
|
|
|
return test_wallet_cls(storage, **kwargs) |
|
|
|
|
|
|
|
|
|
|
|
return open_wallet(path, **kwargs) |
|
|
|
return open_wallet(path, **kwargs) |
|
|
|
|