0KnowledgeNetwork / opt

Zero Knowledge Network's mixnet server plugins and client apps
GNU Affero General Public License v3.0
2 stars 1 forks source link

feat: improve walletshield console output, remove "gPayLoadX" #21

Closed xendarboh closed 3 months ago

xendarboh commented 4 months ago

Successful output like this can look like an error to end users, as it contains the word "Error" and some less known characters:

INFO daemon: REPLY: '�gPayloadX^{"data":{"bestChain":[{"creator":"B62qjC91sRWBqABxgX84RSz55hSUuwgzyLpN4JxRWEegHHkhaCbVMni"}]}}eError`'

Increase end-user usability with refined output messages. For the above example, consider only print the payload value. And if there is an Error value, display it in ERROR log_level.