meile-gui icon indicating copy to clipboard operation
meile-gui copied to clipboard

[BUG] Unsubscribe bug may cause unsubscribe function to not work on Linux

Open freQniK opened this issue 2 years ago • 0 comments

Screenshot_2023-12-01_23-17-05

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.

freQniK avatar Dec 02 '23 04:12 freQniK