Fixing a compilation warning (#308)

* Fixing a compilation warning
This commit is contained in:
Karim Agha 2021-03-10 09:46:34 +01:00 committed by GitHub
parent 5b904476cd
commit e2024c4b81
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -489,7 +489,8 @@ impl ChainSyncApi {
if self if self
.priority_tasks_gate .priority_tasks_gate
.compare_and_swap(false, true, Ordering::AcqRel) .compare_exchange(false, true, Ordering::Acquire, Ordering::Release)
.is_err()
{ {
return; return;
} }