{"action":"closed","issue":{"url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2438","repository_url":"https://api.github.com/repos/ethereum/go-ethereum","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2438/labels{/name}","comments_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2438/comments","events_url":"https://api.github.com/repos/ethereum/go-ethereum/issues/2438/events","html_url":"https://github.com/ethereum/go-ethereum/issues/2438","id":147141288,"number":2438,"title":"eth: RPC API does not enforce 0x prefix","user":{"login":"gavofyork","id":138296,"avatar_url":"https://avatars.githubusercontent.com/u/138296?v=3","gravatar_id":"","url":"https://api.github.com/users/gavofyork","html_url":"https://github.com/gavofyork","followers_url":"https://api.github.com/users/gavofyork/followers","following_url":"https://api.github.com/users/gavofyork/following{/other_user}","gists_url":"https://api.github.com/users/gavofyork/gists{/gist_id}","starred_url":"https://api.github.com/users/gavofyork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gavofyork/subscriptions","organizations_url":"https://api.github.com/users/gavofyork/orgs","repos_url":"https://api.github.com/users/gavofyork/repos","events_url":"https://api.github.com/users/gavofyork/events{/privacy}","received_events_url":"https://api.github.com/users/gavofyork/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"fjl","id":6915,"avatar_url":"https://avatars.githubusercontent.com/u/6915?v=3","gravatar_id":"","url":"https://api.github.com/users/fjl","html_url":"https://github.com/fjl","followers_url":"https://api.github.com/users/fjl/followers","following_url":"https://api.github.com/users/fjl/following{/other_user}","gists_url":"https://api.github.com/users/fjl/gists{/gist_id}","starred_url":"https://api.github.com/users/fjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjl/subscriptions","organizations_url":"https://api.github.com/users/fjl/orgs","repos_url":"https://api.github.com/users/fjl/repos","events_url":"https://api.github.com/users/fjl/events{/privacy}","received_events_url":"https://api.github.com/users/fjl/received_events","type":"User","site_admin":false},"assignees":[{"login":"fjl","id":6915,"avatar_url":"https://avatars.githubusercontent.com/u/6915?v=3","gravatar_id":"","url":"https://api.github.com/users/fjl","html_url":"https://github.com/fjl","followers_url":"https://api.github.com/users/fjl/followers","following_url":"https://api.github.com/users/fjl/following{/other_user}","gists_url":"https://api.github.com/users/fjl/gists{/gist_id}","starred_url":"https://api.github.com/users/fjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjl/subscriptions","organizations_url":"https://api.github.com/users/fjl/orgs","repos_url":"https://api.github.com/users/fjl/repos","events_url":"https://api.github.com/users/fjl/events{/privacy}","received_events_url":"https://api.github.com/users/fjl/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/ethereum/go-ethereum/milestones/43","html_url":"https://github.com/ethereum/go-ethereum/milestone/43","labels_url":"https://api.github.com/repos/ethereum/go-ethereum/milestones/43/labels","id":2185095,"number":43,"title":"1.5.6","description":"","creator":{"login":"fjl","id":6915,"avatar_url":"https://avatars.githubusercontent.com/u/6915?v=3","gravatar_id":"","url":"https://api.github.com/users/fjl","html_url":"https://github.com/fjl","followers_url":"https://api.github.com/users/fjl/followers","following_url":"https://api.github.com/users/fjl/following{/other_user}","gists_url":"https://api.github.com/users/fjl/gists{/gist_id}","starred_url":"https://api.github.com/users/fjl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjl/subscriptions","organizations_url":"https://api.github.com/users/fjl/orgs","repos_url":"https://api.github.com/users/fjl/repos","events_url":"https://api.github.com/users/fjl/events{/privacy}","received_events_url":"https://api.github.com/users/fjl/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":15,"state":"open","created_at":"2016-12-08T22:04:44Z","updated_at":"2016-12-22T11:49:17Z","due_on":"2017-01-04T08:00:00Z","closed_at":null},"comments":5,"created_at":"2016-04-09T16:01:34Z","updated_at":"2016-12-22T11:49:17Z","closed_at":"2016-12-22T11:49:17Z","body":"#### System information\n\nGeth version: All versions\nOS & Version: Windows/Linux/OSX\nCommit hash : All commits\n#### Expected behaviour\n\nShould return: \n\n```\n{\n  \"jsonrpc\": \"2.0\",\n  \"error\": {\n    \"code\": -32602,\n    \"message\": \"Invalid params\",\n    \"data\": null\n  },\n  \"id\": 274\n}\n```\n#### Actual behaviour\n\nAccepts and queues a transaction with the data interpreted as hex.\n#### Steps to reproduce the behaviour\n\nMake JSONRPC request using:\n\n```\n{\"id\":253,\"jsonrpc\":\"2.0\",\"method\":\"eth_sendRawTransaction\",\"params\":[\"f8898085061467a0cc832fd61894b816c3abdbb9967485f8645bc83143bb749572e080a4922a2c9d00000000000000000000000000000000000000000000000000000000000f69b51ca0239bfaea0e564e825136ef60e1964e44a2cf4b870a243acd447c9a56126b7ebea043e74bae18396f906741418febe29e7ac611bfcca80846b311b1f986cd6ff747\"]}\n```\n"}}
{"actor":{"display_login":"karalabe"}}