mirror of
https://github.com/discountry/ritmex-bot.git
synced 2026-09-09 08:18:07 +00:00
feat: 重构 Lighter 策略,更新签名桥接路径,移除不必要的文件,添加新的签名库支持
This commit is contained in:
@@ -17,7 +17,8 @@ class StrOrErr(ctypes.Structure):
|
||||
|
||||
def _resolve_signer_path() -> str:
|
||||
base = os.path.abspath(os.path.join(os.path.dirname(__file__), ".."))
|
||||
signers_dir = os.path.join(base, "docs", "lighter", "lighter-python-main", "lighter", "signers")
|
||||
# Resolve to in-repo module location: src/exchanges/lighter/signers
|
||||
signers_dir = os.path.join(base, "src", "exchanges", "lighter", "signers")
|
||||
system = platform.system()
|
||||
machine = platform.machine().lower()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user