{"action":"opened","issue":{"url":"https://api.github.com/repos/ChristopherA/Learning-Bitcoin-from-the-Command-Line/issues/36","repository_url":"https://api.github.com/repos/ChristopherA/Learning-Bitcoin-from-the-Command-Line","labels_url":"https://api.github.com/repos/ChristopherA/Learning-Bitcoin-from-the-Command-Line/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/ChristopherA/Learning-Bitcoin-from-the-Command-Line/issues/36/comments","events_url":"https://api.github.com/repos/ChristopherA/Learning-Bitcoin-from-the-Command-Line/issues/36/events","html_url":"https://github.com/ChristopherA/Learning-Bitcoin-from-the-Command-Line/issues/36","id":310177459,"number":36,"title":"Address does not refer to key","user":{"login":"lmazur","id":2908072,"avatar_url":"https://avatars1.githubusercontent.com/u/2908072?v=4","gravatar_id":"","url":"https://api.github.com/users/lmazur","html_url":"https://github.com/lmazur","followers_url":"https://api.github.com/users/lmazur/followers","following_url":"https://api.github.com/users/lmazur/following{/other_user}","gists_url":"https://api.github.com/users/lmazur/gists{/gist_id}","starred_url":"https://api.github.com/users/lmazur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmazur/subscriptions","organizations_url":"https://api.github.com/users/lmazur/orgs","repos_url":"https://api.github.com/users/lmazur/repos","events_url":"https://api.github.com/users/lmazur/events{/privacy}","received_events_url":"https://api.github.com/users/lmazur/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-30T21:53:39Z","updated_at":"2018-03-30T21:53:39Z","closed_at":null,"author_association":"NONE","body":"Hello, I have been going through the steps, and tried signing a message per the steps, and I get the Address does not refer to key errorl\r\n\r\nHello, I am new here.\r\n\r\nI am experimenting with a full node, and setup a new node on ubuntu - Core 0.16.0.\r\nI'm running my bitcoind in test-net\r\n\r\nI'm running a test-net bitcoin daemon.\r\n\r\nWhenever I try to sign a message with my pub key, it shows this error\r\n\r\nSteps:\r\n\r\n1. bitcoin-cli getnewaddress\r\n--> It produced an address: 2N2yv1XcYfNXR54J7ZJvBxY6ZnmZFbz89tm\r\n\r\n2. bitcoin-cli signmessage \"2N2yv1XcYfNXR54J7ZJvBxY6ZnmZFbz89tm\" \"Hello there\"\r\n\r\n--> Get following error\r\nerror code: -3\r\nerror message:\r\nAddress does not refer to key\r\n\r\n\r\nThis is pretty vanilla functionality - why is this happening and how to address?\r\n\r\nThank you in advance\r\n\r\n\r\n"}}
{"actor":{"display_login":"lmazur"}}