diff --git a/bit/network/services.py b/bit/network/services.py index 9578c63..67c3789 100644 --- a/bit/network/services.py +++ b/bit/network/services.py @@ -91,7 +91,7 @@ def __getattr__(self, rpc_method): return RPCMethod(new_method, self._host) def __call__(self, *args): - payload = json.dumps({"method": self._rpc_method, "params": list(args), "jsonrpc": "2.0"}) + payload = json.dumps({"method": self._rpc_method, "params": list(args), "jsonrpc": "2.0", "id": None}) try: response = self._host._session.post(self._host._url, headers=self._host._headers, data=payload) except requests.exceptions.ConnectionError: