mirror of
https://github.com/meshcore-dev/meshcore-cli.git
synced 2026-04-20 22:13:48 +00:00
chan hash was not retreived afer chan setup
This commit is contained in:
parent
5c953ecf80
commit
840eb2d44c
1 changed files with 1 additions and 0 deletions
|
|
@ -1187,6 +1187,7 @@ async def set_channel (mc, chan, name, key=None):
|
|||
return None
|
||||
|
||||
info = res.payload
|
||||
info["channel_hash"] = sha256(info["channel_secret"]).digest()[0:1].hex()
|
||||
info["channel_secret"] = info["channel_secret"].hex()
|
||||
|
||||
if hasattr(mc,'channels') :
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue