Skip to content

Commit

Permalink
wallet_signmessage() outstr argument must be False
Browse files Browse the repository at this point in the history
  • Loading branch information
kristapsk committed Sep 20, 2023
1 parent 65a48bb commit b3dfa4f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion jmclient/jmclient/wallet_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1319,7 +1319,8 @@ def signmessage(self, request, walletname):

request_data = self.get_POST_body(request, ["hd_path", "message"])
result = wallet_signmessage(self.services["wallet"],
request_data["hd_path"], request_data["message"])
request_data["hd_path"], request_data["message"],
out_str=False)
if type(result) == str:
return make_jmwalletd_response(request, status=400,
message=result)
Expand Down

0 comments on commit b3dfa4f

Please sign in to comment.