This commit is contained in:
Bruno Valente 2024-07-23 13:21:27 +08:00
parent 8a726f2825
commit 1adee860fd

View File

@ -235,7 +235,7 @@ impl PoraService {
} }
if puzzle.max_shards() < self.mine_range.shard_config.num_shard as u64 { if puzzle.max_shards() < self.mine_range.shard_config.num_shard as u64 {
return Err("too many mine range"); return Err("too many mine shards");
} }
if self.mine_range.shard_config.num_shard as u64 > puzzle.context.flow_length.as_u64() { if self.mine_range.shard_config.num_shard as u64 > puzzle.context.flow_length.as_u64() {