feat: Add verifyMessageWithName to account
All checks were successful
Build Docker / Build Image (push) Successful in 44s

This commit is contained in:
2025-01-29 17:07:44 +11:00
parent ca32bf7780
commit 83d676c372
2 changed files with 11 additions and 1 deletions

View File

@@ -836,6 +836,16 @@ def signMessage(account,domain,message):
}
}
def verifyMessageWithName(domain,signature,message):
try:
response = hsd.rpc_verifyMessageWithName(domain,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}"):