Browse Source

Merge #1163: Make unconf unspent display default in jmwalletd

4389338 Make unconf unspent display default in jmwalletd (Adam Gibson)
master
Adam Gibson 4 years ago
parent
commit
7e6aff1080
No known key found for this signature in database
GPG Key ID: 141001A1AF77F20B
  1. 4
      scripts/jmwalletd.py

4
scripts/jmwalletd.py

@ -30,6 +30,10 @@ def jmwalletd_main():
"blockchain source.")
sys.exit(EXIT_FAILURE)
# if nothing was configured, we override bitcoind's options so that
# unconfirmed balance is included in the wallet display by default
if 'listunspent_args' not in jm_single().config.options('POLICY'):
jm_single().config.set('POLICY','listunspent_args', '[0]')
jlog.info("Starting jmwalletd on port: " + str(options.port))
jm_wallet_daemon = JMWalletDaemon(options.port, options.wss_port)
jm_wallet_daemon.startService()

Loading…
Cancel
Save