mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2026-09-07 18:14:25 -05:00
dont error out if we get a path we dont recognize from farmer broadcast
This commit is contained in:
committed by
Gene Hoffman
parent
b0c5d3163a
commit
9e46f68c70
+6
-1
@@ -330,7 +330,12 @@ class Harvester:
|
||||
A signature is created on the header hash using the harvester private key. This can also
|
||||
be used for pooling.
|
||||
"""
|
||||
plot_info = self.provers[Path(request.plot_id).resolve()]
|
||||
plot_info = None
|
||||
try:
|
||||
plot_info = self.provers[Path(request.plot_id).resolve()]
|
||||
except KeyError:
|
||||
log.warning(f"KeyError plot {request.plot_id} does not exist.")
|
||||
return
|
||||
|
||||
local_sk = plot_info.local_sk
|
||||
agg_pk = ProofOfSpace.generate_plot_public_key(
|
||||
|
||||
Reference in New Issue
Block a user