sign and verify message functions not working with (probobaly bech32 type addresse like: “bc1qg0kmtkmgf4angrmcr9wz2fslxjj4jzj95tkg6r”.
I was able to sign using signmessagewithprivkey “privkey” “my message” and the result if it is correct : “H+QaukT8FP/TFh3bchd9oRj00S7rzuxzSXNXH10y4tgkWkYmKFsfFxOs50bo9510ngNhgsUbE1yG7bbldc2qVGY=”
however using signmessage “bc1qg0kmtkmgf4angrmcr9wz2fslxjj4jzj95tkg6r” “my message” and verifymessage “bc1qg0kmtkmgf4angrmcr9wz2fslxjj4jzj95tkg6r” “signature” “my message” examples gives error : “Address does not refer to key”
Expected behavior Signing and verifying messages using bech32 addresses.
Actual behavior “Address does not refer to key” error
To reproduce
System information