Attempt at fixing issue 1525
Attempt at fixing issue 1525

The main problem is, I think, that the synchronizer and wallet
still exist in the daemon process, and updates to things like
TXI and TXO are made but never saved (as client exit is what
saves the wallet).

I suspect fixing the lingering objects is hard; this is a short
term fix to ensure that when internal wallet state is updated,
the wallet is written to disk, so later daemon clients pick up
the correct state.

argentumproject/electrum-arg,pooler/electrum-ltc,protonn/Electrum-Cash,cryptapus/electrum,asfin/electrum,romanz/electrum,dashpay/electrum-dash,wakiyamap/electrum-mona,imrehg/electrum,spesmilo/electrum,dabura667/electrum,protonn/Electrum-Cash,neocogent/electrum,romanz/electrum,lbryio/lbryum,cryptapus/electrum-uno,wakiyamap/electrum-mona,spesmilo/electrum,imrehg/electrum,spesmilo/electrum,fujicoin/electrum-fjc,pooler/electrum-ltc,molecular/electrum,digitalbitbox/electrum,dashpay/electrum-dash,vialectrum/vialectrum,digitalbitbox/electrum,vertcoin/electrum-vtc,neocogent/electrum,dashpay/electrum-dash,procrasti/electrum,procrasti/electrum,cryptapus/electrum-uno,protonn/Electrum-Cash,pknight007/electrum-vtc,cryptapus/electrum-myr,imrehg/electrum,FairCoinTeam/electrum-fair,FairCoinTeam/electrum-fair,neocogent/electrum,asfin/electrum,cryptapus/electrum-myr,FairCoinTeam/electrum-fair,argentumproject/electrum-arg,aasiutin/electrum,protonn/Electrum-Cash,dabura667/electrum,dashpay/electrum-dash,procrasti/electrum,romanz/electrum,imrehg/electrum,vialectrum/vialectrum,aasiutin/electrum,vialectrum/vialectrum,kyuupichan/electrum,pknight007/electrum-vtc,fyookball/electrum,digitalbitbox/electrum,fireduck64/electrum,procrasti/electrum,dabura667/electrum,fujicoin/electrum-fjc,argentumproject/electrum-arg,pooler/electrum-ltc,cryptapus/electrum,molecular/electrum,fyookball/electrum,cryptapus/electrum-myr,fireduck64/electrum,molecular/electrum,fyookball/electrum,molecular/electrum,fireduck64/electrum,cryptapus/electrum,vertcoin/electrum-vtc,cryptapus/electrum-uno,fujicoin/electrum-fjc,pooler/electrum-ltc,kyuupichan/electrum,asfin/electrum,pknight007/electrum-vtc,kyuupichan/electrum,pknight007/electrum-vtc,aasiutin/electrum,wakiyamap/electrum-mona,wakiyamap/electrum-mona,fireduck64/electrum,digitalbitbox/electrum,spesmilo/electrum,vertcoin/electrum-vtc,dabura667/electrum,aasiutin/electrum,cryptapus/electrum-uno,FairCoinTeam/electrum-fair,cryptapus/electrum-myr,lbryio/lbryum,argentumproject/electrum-arg,vertcoin/electrum-vtc