mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-10 10:05:17 +00:00
fix nits
This commit is contained in:
parent
8a726f2825
commit
1adee860fd
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user