feat: Add verifyMessage to account module
All checks were successful
Build Docker / Build Image (push) Successful in 48s
All checks were successful
Build Docker / Build Image (push) Successful in 48s
This commit is contained in:
parent
83d676c372
commit
76dd5a429b
@ -846,6 +846,15 @@ def verifyMessageWithName(domain,signature,message):
|
||||
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
|
||||
|
||||
def generateReport(account,format="{name},{expiry},{value},{maxBid}"):
|
||||
|
Loading…
Reference in New Issue
Block a user