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 Jan 25, 2024
1 parent fc9a26c commit 15acd02
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 @@ -1334,7 +1334,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 15acd02

Please sign in to comment.