feat: Add verifyMessage to account module
All checks were successful
Build Docker / Build Image (push) Successful in 48s

This commit is contained in:
Nathan Woodburn 2025-01-29 17:21:44 +11:00
parent 83d676c372
commit 76dd5a429b
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -846,6 +846,15 @@ def verifyMessageWithName(domain,signature,message):
return False return False
def verifyMessage(address,signature,message):
try:
response = hsd.rpc_verifyMessage(address,signature,message)
if 'result' in response:
return response['result']
return False
except Exception as e:
return False
#endregion #endregion
def generateReport(account,format="{name},{expiry},{value},{maxBid}"): def generateReport(account,format="{name},{expiry},{value},{maxBid}"):