Hi,
I was wondering if there is a better way of re-rekeying an address back to itself than the following.
I’m using a rekey transaction like: { from: my-address, rekey-to: my-address }
This goes through just fine and it does work on the network level but Pera wallet has a bug which disables the account until it is removed and re-added (it sends null bytes when you sign a transaction).
I will also open a bug on pera wallet’s github, but in the meantime is there a different way to undo rekeying other than this? I tried rekey-to: ""
and rekey-to: null
but my algosdk refuses to sign an invalid address.