def stopWallet(): global tWS # Stop WalletServer Wallet.StopAll() if tWS: tWS.join() tWS = None # Save head_blocks return True
def stopWallet(): global tWS Wallet.StopAll() if tWS: tWS.join() tWS = None return True