Skip to content

Commit

Permalink
Add "jsonrpc": "2.0" to RPC requests
Browse files Browse the repository at this point in the history
  • Loading branch information
shesek committed Aug 27, 2021
1 parent 049494b commit 78e103b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ class LightningClient extends EventEmitter {

const callInt = ++this.reqcount;
const sendObj = {
jsonrpc: '2.0',
method,
params: args,
id: ''+callInt
Expand Down

0 comments on commit 78e103b

Please sign in to comment.