Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

storage.py:531 UserWarning: run_hook "get_action" being called from outside the main thread #204

Open
damascene opened this issue May 8, 2021 · 1 comment

Comments

@damascene
Copy link

When I run the daemon , create and load a wallet I get the following error:

$ ./electron-cash daemon load_wallet
/home/user/script/src/Electron-Cash-SLP/electroncash/storage.py:531: UserWarning: run_hook "get_action" being called from outside the main thread (thr: Thread-3) may lead to undefined behavior. Please use util.do_in_main_thread to call run_hook if the hook in question does not return any results.
  action = run_hook('get_action', self)
DEBUG-DAG: a2847fe3a2... cached judgement: Valid
DEBUG-DAG: target transactions finished
DEBUG-DAG: 2d395430aa... cached judgement: Valid
DEBUG-DAG: target transactions finished
true

the wallet seems to be loaded:
$ ./electron-cash daemon status

{
    "auto_connect": true,
    "blockchain_height": 686957,
    "connected": true,
    "fee_per_kb": 1000,
    "path": "/home/user/.electron-cash-slp",
    "server": "bch2.electroncash.dk",
    "server_height": 686957,
    "spv_nodes": 10,
    "version": "3.6.6",
    "wallets": {
        "/home/user/.electron-cash-slp/wallets/default_wallet": true
    }
}

@damascene
Copy link
Author

seems to be an issue in main stream

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant