meile-gui
meile-gui copied to clipboard
[BUG] Unsubscribe bug may cause unsubscribe function to not work on Linux
I got this on Ubuntu 20.04 running v1.7.14. I tested the same code on another Ubunut 20.04 v1.7.14 and I was able to unsubscribe. Not sure where the disconnect is. I think this is related to the privkey retrieved from the key-ring dir but not I'm sure. Somewhere related to this stretch of code in src/cli/wallet.py
wallet = LocalWallet(PrivateKey(priv_key_bytes), prefix="sent")
address = wallet.address()
print(f"Address: {address},\nSubscription ID: {subId}")
try:
tx = Transaction()
tx.add_message(MsgCancelRequest(frm=str(address), id=int(subId)))
tx = prepare_and_broadcast_basic_transaction(client, tx, wallet)
tx.wait_to_complete()
Posting this in case other people notice a similar message.