From 9c3e08fa32df6c444034c4f9c5545cfe7d2486fb Mon Sep 17 00:00:00 2001
From: Nathan Woodburn <github@nathan.woodburn.au>
Date: Fri, 7 Mar 2025 14:20:40 +1100
Subject: [PATCH] fix: Send password to sign

---
 hnslinks.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hnslinks.py b/hnslinks.py
index c88f774..b4f82de 100644
--- a/hnslinks.py
+++ b/hnslinks.py
@@ -189,7 +189,7 @@ def hnslinks(params, authentication):
         return {"status": "Error getting wallet address"}
     
     # Sign message hns-links
-    response = account.signMessage(wallet,domain,"hns-links")
+    response = account.signMessage(authentication,domain,"hns-links")
     if "error" in response:
         return {"status": "Error signing message"}
     return {"status": response}