URI: 
       tdaemon/rpc: include "jsonrpc" key in rpc responses - electrum - Electrum Bitcoin wallet
  HTML git clone https://git.parazyd.org/electrum
   DIR Log
   DIR Files
   DIR Refs
   DIR Submodules
       ---
   DIR commit a81b0ecc591babb684e908c37c4e5e62145701c6
   DIR parent ae579419818e3db20a98c6ac8dd810defa3de125
  HTML Author: SomberNight <somber.night@protonmail.com>
       Date:   Wed, 23 Sep 2020 21:39:31 +0200
       
       daemon/rpc: include "jsonrpc" key in rpc responses
       
       fixes #6612
       
       Diffstat:
         M electrum/daemon.py                  |       5 ++++-
       
       1 file changed, 4 insertions(+), 1 deletion(-)
       ---
   DIR diff --git a/electrum/daemon.py b/electrum/daemon.py
       t@@ -196,7 +196,10 @@ class AuthenticatedServer(Logger):
                except Exception as e:
                    self.logger.exception("invalid request")
                    return web.Response(text='Invalid Request', status=500)
       -        response = {'id': _id}
       +        response = {
       +            'id': _id,
       +            'jsonrpc': '2.0',
       +        }
                try:
                    if isinstance(params, dict):
                        response['result'] = await f(**params)