main #22

Merged
ccyj merged 68 commits from sangge/tpre-python:main into main 2023-10-26 14:45:47 +08:00
Showing only changes of commit 952324d895 - Show all commits

View File

@ -166,7 +166,16 @@ async def check_merge(ct: int, ip: str):
# [(capsule, ct), ...]
cfrag_cts = cursor.fetchall()
print("ip", type(ip))
cursor = db.execute(
"""
SELECT publickey, threshold
FROM senderinfo
WHERE ip = ?
""",
('127.1.1'),
)
result = cursor.fetchall()
# get T
cursor = db.execute(
"""