simpleledger / Electron-Cash-SLP

Electron Cash for SLP Tokens
https://simpleledger.cash/project/electron-cash-slp-edition/
MIT License
64 stars 53 forks source link

Token validity when running EC SLP in daemon mode #205

Closed damascene closed 2 years ago

damascene commented 3 years ago

I've getting conflicting results when I try to query for token balance from CLI. I'm using master. Most of the time I get

./electron-cash getbalance_slp token_id

{
    "valid": "0"
}

but when I open the same wallet file in the Appimage GUI wallet I see the actual balance valid. Then after closing the GUI wallet I'll be able to get the balance correct from command line for few times then it the issue will happen again after I run the daemon to spend from CLI.

To reproduce I suggest running the CLI version before running the GUI.