Post
Topic
Board Bitcoin Technical Support
Re: Bitcoin Core 0.20.1 Address does not refer to key when signing message
by
metallicelmo
on 24/12/2020, 13:49:57 UTC
For signing a message in Bitcoin core, you need a legacy address.
And for generating a legacy address in bitcoin core, go to console and use the command below.

Code:
getnewaddress "" legacy

For generating a legacy address that have a label, you can use the command below.

Code:
getnewaddress ("Enter the label here" "legacy")
Thanks for this info, I'll try and see if that does the trick for now.