Skip to content

Commit

Permalink
Update src/server/grpc/p2pool.rs
Browse files Browse the repository at this point in the history
Co-authored-by: stringhandler <[email protected]>
  • Loading branch information
SWvheerden and stringhandler authored Dec 6, 2024
1 parent df02159 commit 68516f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/grpc/p2pool.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ where S: ShareChain
let pow_algo = block.original_header.pow.pow_algo;
match pow_algo {
PowAlgorithm::RandomX => {
if !self.are_we_synced_with_randomx_p2pool.load(Ordering::Relaxed) {
if !self.are_we_synced_with_randomx_p2pool.load(Ordering::Seq) {
info!(target: LOG_TARGET, "We are not synced yet, not submitting block atm");
return Ok(());
}
Expand Down

0 comments on commit 68516f8

Please sign in to comment.