mirror of
https://github.com/JoinMarket-Org/joinmarket-clientserver.git
synced 2026-08-13 12:33:40 +02:00
bugfix: sendpayment invalid reference to userpcwallet
This commit is contained in:
parent
99690bd5f7
commit
697d8d7691
1 changed files with 5 additions and 7 deletions
|
|
@ -114,14 +114,12 @@ def main():
|
|||
|
||||
log.debug('starting sendpayment')
|
||||
|
||||
if not options.userpcwallet:
|
||||
max_mix_depth = max([mixdepth, options.amtmixdepths - 1])
|
||||
max_mix_depth = max([mixdepth, options.amtmixdepths - 1])
|
||||
|
||||
wallet_path = get_wallet_path(wallet_name, None)
|
||||
wallet = open_test_wallet_maybe(
|
||||
wallet_path, wallet_name, max_mix_depth, gap_limit=options.gaplimit)
|
||||
|
||||
wallet_path = get_wallet_path(wallet_name, None)
|
||||
wallet = open_test_wallet_maybe(
|
||||
wallet_path, wallet_name, max_mix_depth, gap_limit=options.gaplimit)
|
||||
else:
|
||||
raise NotImplementedError("Using non-joinmarket wallet is not supported.")
|
||||
if jm_single().config.get("BLOCKCHAIN",
|
||||
"blockchain_source") == "electrum-server" and options.makercount != 0:
|
||||
jm_single().bc_interface.synctype = "with-script"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue