Skip to content

Commit

Permalink
Merge pull request #208 from steemit/update-jsonrpc-string
Browse files Browse the repository at this point in the history
needs to be jsonrpc instead of json-rpc to match the spec
  • Loading branch information
bonustrack authored Jul 12, 2017
2 parents f7e6636 + 1146cb5 commit c10ff27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/transports/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default class HttpTransport extends Transport {
const id = data.id || this.id++;
const payload = {
id,
"json-rpc": '2.0',
"jsonrpc": '2.0',
method: data.method,
params: data.params,
};
Expand Down

0 comments on commit c10ff27

Please sign in to comment.