We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1a33ed commit c022b3dCopy full SHA for c022b3d
crates/chia-sdk-client/src/request_map.rs
@@ -36,7 +36,7 @@ impl RequestMap {
36
37
items.retain(|_, v| !v.sender.is_closed());
38
39
- let index = self.next_id.fetch_add(0, Ordering::SeqCst);
+ let index = self.next_id.fetch_add(1, Ordering::SeqCst);
40
41
items.insert(index, Request { sender });
42
0 commit comments