Don't remove confirmed requests to early.

This commit is contained in:
Tomasz Drwięga
2017-03-16 13:15:56 +01:00
parent 57d718fde1
commit 930c8b63db
3 changed files with 35 additions and 13 deletions

View File

@@ -77,7 +77,7 @@ pub enum QueueAddError {
}
// TODO [todr] to consider: timeout instead of limit?
const QUEUE_LIMIT: usize = 50;
pub const QUEUE_LIMIT: usize = 50;
/// A queue of transactions awaiting to be confirmed and signed.
pub trait SigningQueue: Send + Sync {