bug: fix some miners not having matching params due to inheritance.

This commit is contained in:
Brett Rowan
2024-08-25 09:28:17 -06:00
parent 8111b1ff4b
commit a0daf37f80
2 changed files with 8 additions and 0 deletions

View File

@@ -427,6 +427,10 @@ ANTMINER_OLD_DATA_LOC = DataLocations(
"_get_uptime",
[RPCAPICommand("rpc_stats", "stats")],
),
str(DataOptions.POOLS): DataFunction(
"_get_pools",
[RPCAPICommand("rpc_pools", "pools")],
),
}
)

View File

@@ -68,6 +68,10 @@ AVALON_DATA_LOC = DataLocations(
"_get_uptime",
[RPCAPICommand("rpc_stats", "stats")],
),
str(DataOptions.POOLS): DataFunction(
"_get_pools",
[RPCAPICommand("rpc_pools", "pools")],
),
}
)