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 May 19, 2024
1 parent 4e082b3 commit 58d19f8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/jmclient/wallet_rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -1362,7 +1362,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 58d19f8

Please sign in to comment.