Skip to content

Commit e8e2bd0

Browse files
committed
fifo -> lifo NoncePool
1 parent ef4f634 commit e8e2bd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/acme.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ pub struct NoncePool(RefCell<VecDeque<String>>);
6666

6767
impl NoncePool {
6868
pub fn get(&self) -> Option<String> {
69-
self.0.borrow_mut().pop_front()
69+
self.0.borrow_mut().pop_back()
7070
}
7171

7272
pub fn add(&self, nonce: String) {

0 commit comments

Comments
 (0)